@@ -173,6 +173,7 @@ extension _Server on _AppSettingsPageState {
|
||||
title: Text(l10n.more),
|
||||
initiallyExpanded: false,
|
||||
children: [
|
||||
_buildServerTabPreferDiskAmount(),
|
||||
_buildRememberPwdInMem(),
|
||||
_buildTextScaler(),
|
||||
_buildKeepStatusWhenErr(),
|
||||
@@ -298,4 +299,11 @@ extension _Server on _AppSettingsPageState {
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
Widget _buildServerTabPreferDiskAmount() {
|
||||
return ListTile(
|
||||
title: Text(l10n.preferDiskAmount),
|
||||
trailing: StoreSwitch(prop: Stores.setting.serverTabPreferDiskAmount),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ abstract final class PlatformPublicSettings {
|
||||
title: Text(libL10n.bioAuth),
|
||||
subtitle: const Text('...', style: UIs.textGrey),
|
||||
),
|
||||
error: (e, __) => ListTile(
|
||||
error: (e, _) => ListTile(
|
||||
title: Text(libL10n.bioAuth),
|
||||
subtitle: Text('${libL10n.fail}: $e', style: UIs.textGrey),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user