|
|
|
@ -27,11 +27,25 @@ import 'package:neon/src/widgets/exception.dart';
|
|
|
|
|
import 'package:package_info_plus/package_info_plus.dart'; |
|
|
|
|
import 'package:provider/provider.dart'; |
|
|
|
|
|
|
|
|
|
enum SettingsCageories { |
|
|
|
|
apps, |
|
|
|
|
theme, |
|
|
|
|
navigation, |
|
|
|
|
pushNotifications, |
|
|
|
|
startup, |
|
|
|
|
systemTray, |
|
|
|
|
accounts, |
|
|
|
|
other, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
class SettingsPage extends StatefulWidget { |
|
|
|
|
const SettingsPage({ |
|
|
|
|
this.initialCategory, |
|
|
|
|
super.key, |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
final SettingsCageories? initialCategory; |
|
|
|
|
|
|
|
|
|
@override |
|
|
|
|
State<SettingsPage> createState() => _SettingsPageState(); |
|
|
|
|
} |
|
|
|
@ -42,6 +56,7 @@ class _SettingsPageState extends State<SettingsPage> {
|
|
|
|
|
final globalOptions = Provider.of<GlobalOptions>(context); |
|
|
|
|
final accountsBloc = Provider.of<AccountsBloc>(context, listen: false); |
|
|
|
|
final appImplementations = Provider.of<Iterable<AppImplementation>>(context); |
|
|
|
|
|
|
|
|
|
return Scaffold( |
|
|
|
|
resizeToAvoidBottomInset: false, |
|
|
|
|
appBar: AppBar( |
|
|
|
@ -68,245 +83,254 @@ class _SettingsPageState extends State<SettingsPage> {
|
|
|
|
|
), |
|
|
|
|
body: StreamBuilder<List<Account>>( |
|
|
|
|
stream: accountsBloc.accounts, |
|
|
|
|
initialData: accountsBloc.accounts.valueOrNull, |
|
|
|
|
builder: ( |
|
|
|
|
final context, |
|
|
|
|
final accountsSnapshot, |
|
|
|
|
) { |
|
|
|
|
final settingsExportHelper = SettingsExportHelper( |
|
|
|
|
globalOptions: globalOptions, |
|
|
|
|
appImplementations: appImplementations, |
|
|
|
|
accountSpecificOptions: { |
|
|
|
|
if (accountsSnapshot.hasData) ...{ |
|
|
|
|
for (final account in accountsSnapshot.requireData) ...{ |
|
|
|
|
account: accountsBloc.getOptionsFor(account).options, |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
); |
|
|
|
|
final platform = Provider.of<NeonPlatform>(context, listen: false); |
|
|
|
|
return StreamBuilder<Account?>( |
|
|
|
|
stream: accountsBloc.activeAccount, |
|
|
|
|
return StreamBuilder<bool>( |
|
|
|
|
stream: globalOptions.pushNotificationsEnabled.enabled, |
|
|
|
|
initialData: globalOptions.pushNotificationsEnabled.enabled.valueOrNull, |
|
|
|
|
builder: ( |
|
|
|
|
final context, |
|
|
|
|
final activeAccountSnapshot, |
|
|
|
|
final pushNotificationsEnabledEnabledSnapshot, |
|
|
|
|
) => |
|
|
|
|
StreamBuilder<bool>( |
|
|
|
|
stream: globalOptions.pushNotificationsEnabled.enabled, |
|
|
|
|
builder: ( |
|
|
|
|
final context, |
|
|
|
|
final pushNotificationsEnabledEnabledSnapshot, |
|
|
|
|
) => |
|
|
|
|
SettingsList( |
|
|
|
|
categories: [ |
|
|
|
|
SettingsList( |
|
|
|
|
initialCategory: widget.initialCategory?.name, |
|
|
|
|
categories: [ |
|
|
|
|
SettingsCategory( |
|
|
|
|
title: Text(AppLocalizations.of(context).settingsApps), |
|
|
|
|
key: ValueKey(SettingsCageories.apps.name), |
|
|
|
|
tiles: <SettingsTile>[ |
|
|
|
|
for (final appImplementation in appImplementations) ...[ |
|
|
|
|
if (appImplementation.options.options.isNotEmpty) ...[ |
|
|
|
|
CustomSettingsTile( |
|
|
|
|
leading: appImplementation.buildIcon(), |
|
|
|
|
title: Text(appImplementation.name(context)), |
|
|
|
|
onTap: () { |
|
|
|
|
NextcloudAppSettingsRoute(appid: appImplementation.id).go(context); |
|
|
|
|
}, |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
], |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
SettingsCategory( |
|
|
|
|
title: Text(AppLocalizations.of(context).optionsCategoryTheme), |
|
|
|
|
key: ValueKey(SettingsCageories.theme.name), |
|
|
|
|
tiles: [ |
|
|
|
|
DropdownButtonSettingsTile( |
|
|
|
|
option: globalOptions.themeMode, |
|
|
|
|
), |
|
|
|
|
CheckBoxSettingsTile( |
|
|
|
|
option: globalOptions.themeOLEDAsDark, |
|
|
|
|
), |
|
|
|
|
CheckBoxSettingsTile( |
|
|
|
|
option: globalOptions.themeKeepOriginalAccentColor, |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
SettingsCategory( |
|
|
|
|
title: Text(AppLocalizations.of(context).optionsCategoryNavigation), |
|
|
|
|
key: ValueKey(SettingsCageories.navigation.name), |
|
|
|
|
tiles: [ |
|
|
|
|
DropdownButtonSettingsTile( |
|
|
|
|
option: globalOptions.navigationMode, |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
if (platform.canUsePushNotifications) ...[ |
|
|
|
|
SettingsCategory( |
|
|
|
|
title: Text(AppLocalizations.of(context).settingsApps), |
|
|
|
|
tiles: <SettingsTile>[ |
|
|
|
|
for (final appImplementation in appImplementations) ...[ |
|
|
|
|
if (appImplementation.options.options.isNotEmpty) ...[ |
|
|
|
|
CustomSettingsTile( |
|
|
|
|
leading: appImplementation.buildIcon(), |
|
|
|
|
title: Text(appImplementation.name(context)), |
|
|
|
|
onTap: () { |
|
|
|
|
NextcloudAppSettingsRoute(appid: appImplementation.id).go(context); |
|
|
|
|
}, |
|
|
|
|
title: Text(AppLocalizations.of(context).optionsCategoryPushNotifications), |
|
|
|
|
key: ValueKey(SettingsCageories.pushNotifications.name), |
|
|
|
|
tiles: [ |
|
|
|
|
if (pushNotificationsEnabledEnabledSnapshot.hasData && |
|
|
|
|
!pushNotificationsEnabledEnabledSnapshot.requireData) ...[ |
|
|
|
|
TextSettingsTile( |
|
|
|
|
text: AppLocalizations.of(context).globalOptionsPushNotificationsEnabledDisabledNotice, |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontWeight: FontWeight.w600, |
|
|
|
|
fontStyle: FontStyle.italic, |
|
|
|
|
color: Theme.of(context).colorScheme.error, |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
CheckBoxSettingsTile( |
|
|
|
|
option: globalOptions.pushNotificationsEnabled, |
|
|
|
|
), |
|
|
|
|
DropdownButtonSettingsTile( |
|
|
|
|
option: globalOptions.pushNotificationsDistributor, |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
if (platform.canUseWindowManager) ...[ |
|
|
|
|
SettingsCategory( |
|
|
|
|
title: Text(AppLocalizations.of(context).optionsCategoryTheme), |
|
|
|
|
title: Text(AppLocalizations.of(context).optionsCategoryStartup), |
|
|
|
|
key: ValueKey(SettingsCageories.startup.name), |
|
|
|
|
tiles: [ |
|
|
|
|
DropdownButtonSettingsTile( |
|
|
|
|
option: globalOptions.themeMode, |
|
|
|
|
), |
|
|
|
|
CheckBoxSettingsTile( |
|
|
|
|
option: globalOptions.themeOLEDAsDark, |
|
|
|
|
option: globalOptions.startupMinimized, |
|
|
|
|
), |
|
|
|
|
CheckBoxSettingsTile( |
|
|
|
|
option: globalOptions.themeKeepOriginalAccentColor, |
|
|
|
|
option: globalOptions.startupMinimizeInsteadOfExit, |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
if (platform.canUseWindowManager && platform.canUseSystemTray) ...[ |
|
|
|
|
SettingsCategory( |
|
|
|
|
title: Text(AppLocalizations.of(context).optionsCategoryNavigation), |
|
|
|
|
title: Text(AppLocalizations.of(context).optionsCategorySystemTray), |
|
|
|
|
key: ValueKey(SettingsCageories.systemTray.name), |
|
|
|
|
tiles: [ |
|
|
|
|
DropdownButtonSettingsTile( |
|
|
|
|
option: globalOptions.navigationMode, |
|
|
|
|
CheckBoxSettingsTile( |
|
|
|
|
option: globalOptions.systemTrayEnabled, |
|
|
|
|
), |
|
|
|
|
CheckBoxSettingsTile( |
|
|
|
|
option: globalOptions.systemTrayHideToTrayWhenMinimized, |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
if (platform.canUsePushNotifications) ...[ |
|
|
|
|
SettingsCategory( |
|
|
|
|
title: Text(AppLocalizations.of(context).optionsCategoryPushNotifications), |
|
|
|
|
tiles: [ |
|
|
|
|
if (pushNotificationsEnabledEnabledSnapshot.hasData && |
|
|
|
|
!pushNotificationsEnabledEnabledSnapshot.requireData) ...[ |
|
|
|
|
TextSettingsTile( |
|
|
|
|
text: AppLocalizations.of(context).globalOptionsPushNotificationsEnabledDisabledNotice, |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontWeight: FontWeight.w600, |
|
|
|
|
fontStyle: FontStyle.italic, |
|
|
|
|
color: Theme.of(context).colorScheme.error, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
CheckBoxSettingsTile( |
|
|
|
|
option: globalOptions.pushNotificationsEnabled, |
|
|
|
|
), |
|
|
|
|
DropdownButtonSettingsTile( |
|
|
|
|
option: globalOptions.pushNotificationsDistributor, |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
if (platform.canUseWindowManager) ...[ |
|
|
|
|
SettingsCategory( |
|
|
|
|
title: Text(AppLocalizations.of(context).optionsCategoryStartup), |
|
|
|
|
tiles: [ |
|
|
|
|
CheckBoxSettingsTile( |
|
|
|
|
option: globalOptions.startupMinimized, |
|
|
|
|
), |
|
|
|
|
CheckBoxSettingsTile( |
|
|
|
|
option: globalOptions.startupMinimizeInsteadOfExit, |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
if (platform.canUseWindowManager && platform.canUseSystemTray) ...[ |
|
|
|
|
SettingsCategory( |
|
|
|
|
title: Text(AppLocalizations.of(context).optionsCategorySystemTray), |
|
|
|
|
tiles: [ |
|
|
|
|
CheckBoxSettingsTile( |
|
|
|
|
option: globalOptions.systemTrayEnabled, |
|
|
|
|
), |
|
|
|
|
CheckBoxSettingsTile( |
|
|
|
|
option: globalOptions.systemTrayHideToTrayWhenMinimized, |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
SettingsCategory( |
|
|
|
|
title: Text(AppLocalizations.of(context).optionsCategoryAccounts), |
|
|
|
|
key: ValueKey(SettingsCageories.accounts.name), |
|
|
|
|
tiles: [ |
|
|
|
|
if (accountsSnapshot.requireData.length > 1) ...[ |
|
|
|
|
CheckBoxSettingsTile( |
|
|
|
|
option: globalOptions.rememberLastUsedAccount, |
|
|
|
|
), |
|
|
|
|
DropdownButtonSettingsTile( |
|
|
|
|
option: globalOptions.initialAccount, |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
for (final account in accountsSnapshot.requireData) ...[ |
|
|
|
|
AccountSettingsTile( |
|
|
|
|
account: account, |
|
|
|
|
onTap: () { |
|
|
|
|
AccountSettingsRoute(accountid: account.id).go(context); |
|
|
|
|
}, |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
CustomSettingsTile( |
|
|
|
|
title: ElevatedButton.icon( |
|
|
|
|
onPressed: () async => const LoginRoute().push(context), |
|
|
|
|
icon: Icon(MdiIcons.accountPlus), |
|
|
|
|
label: Text(AppLocalizations.of(context).globalOptionsAccountsAdd), |
|
|
|
|
), |
|
|
|
|
) |
|
|
|
|
], |
|
|
|
|
if (accountsSnapshot.hasData) ...[ |
|
|
|
|
SettingsCategory( |
|
|
|
|
title: Text(AppLocalizations.of(context).optionsCategoryAccounts), |
|
|
|
|
tiles: [ |
|
|
|
|
if (accountsSnapshot.requireData.length > 1) ...[ |
|
|
|
|
CheckBoxSettingsTile( |
|
|
|
|
option: globalOptions.rememberLastUsedAccount, |
|
|
|
|
), |
|
|
|
|
DropdownButtonSettingsTile( |
|
|
|
|
option: globalOptions.initialAccount, |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
for (final account in accountsSnapshot.requireData) ...[ |
|
|
|
|
AccountSettingsTile( |
|
|
|
|
account: account, |
|
|
|
|
onTap: () { |
|
|
|
|
AccountSettingsRoute(accountid: account.id).go(context); |
|
|
|
|
}, |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
CustomSettingsTile( |
|
|
|
|
title: ElevatedButton.icon( |
|
|
|
|
onPressed: () async => const LoginRoute().push(context), |
|
|
|
|
icon: Icon(MdiIcons.accountPlus), |
|
|
|
|
label: Text(AppLocalizations.of(context).globalOptionsAccountsAdd), |
|
|
|
|
), |
|
|
|
|
) |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
SettingsCategory( |
|
|
|
|
title: Text(AppLocalizations.of(context).optionsCategoryOther), |
|
|
|
|
key: ValueKey(SettingsCageories.other.name), |
|
|
|
|
tiles: <SettingsTile>[ |
|
|
|
|
CustomSettingsTile( |
|
|
|
|
leading: Icon( |
|
|
|
|
MdiIcons.scriptText, |
|
|
|
|
color: Theme.of(context).colorScheme.primary, |
|
|
|
|
), |
|
|
|
|
title: Text(AppLocalizations.of(context).licenses), |
|
|
|
|
onTap: () async { |
|
|
|
|
final branding = Branding.of(context); |
|
|
|
|
showLicensePage( |
|
|
|
|
context: context, |
|
|
|
|
applicationName: branding.name, |
|
|
|
|
applicationIcon: branding.logo, |
|
|
|
|
applicationLegalese: branding.legalese, |
|
|
|
|
applicationVersion: Provider.of<PackageInfo>(context, listen: false).version, |
|
|
|
|
); |
|
|
|
|
}, |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
SettingsCategory( |
|
|
|
|
title: Text(AppLocalizations.of(context).optionsCategoryOther), |
|
|
|
|
tiles: <SettingsTile>[ |
|
|
|
|
CustomSettingsTile( |
|
|
|
|
leading: Icon( |
|
|
|
|
MdiIcons.scriptText, |
|
|
|
|
color: Theme.of(context).colorScheme.primary, |
|
|
|
|
), |
|
|
|
|
title: Text(AppLocalizations.of(context).licenses), |
|
|
|
|
onTap: () async { |
|
|
|
|
final branding = Branding.of(context); |
|
|
|
|
showLicensePage( |
|
|
|
|
context: context, |
|
|
|
|
applicationName: branding.name, |
|
|
|
|
applicationIcon: branding.logo, |
|
|
|
|
applicationLegalese: branding.legalese, |
|
|
|
|
applicationVersion: Provider.of<PackageInfo>(context, listen: false).version, |
|
|
|
|
); |
|
|
|
|
}, |
|
|
|
|
CustomSettingsTile( |
|
|
|
|
leading: Icon( |
|
|
|
|
MdiIcons.export, |
|
|
|
|
color: Theme.of(context).colorScheme.primary, |
|
|
|
|
), |
|
|
|
|
CustomSettingsTile( |
|
|
|
|
leading: Icon( |
|
|
|
|
MdiIcons.export, |
|
|
|
|
color: Theme.of(context).colorScheme.primary, |
|
|
|
|
), |
|
|
|
|
title: Text(AppLocalizations.of(context).settingsExport), |
|
|
|
|
onTap: () async { |
|
|
|
|
try { |
|
|
|
|
final fileName = |
|
|
|
|
'nextcloud-neon-settings-${DateTime.now().millisecondsSinceEpoch ~/ 1000}.json.base64'; |
|
|
|
|
final data = base64.encode( |
|
|
|
|
utf8.encode( |
|
|
|
|
json.encode( |
|
|
|
|
settingsExportHelper.toJsonExport(), |
|
|
|
|
), |
|
|
|
|
title: Text(AppLocalizations.of(context).settingsExport), |
|
|
|
|
onTap: () async { |
|
|
|
|
final settingsExportHelper = _buildSettingsExportHelper(context); |
|
|
|
|
|
|
|
|
|
try { |
|
|
|
|
final fileName = |
|
|
|
|
'nextcloud-neon-settings-${DateTime.now().millisecondsSinceEpoch ~/ 1000}.json.base64'; |
|
|
|
|
final data = base64.encode( |
|
|
|
|
utf8.encode( |
|
|
|
|
json.encode( |
|
|
|
|
settingsExportHelper.toJsonExport(), |
|
|
|
|
), |
|
|
|
|
); |
|
|
|
|
await saveFileWithPickDialog(fileName, Uint8List.fromList(utf8.encode(data))); |
|
|
|
|
} catch (e, s) { |
|
|
|
|
debugPrint(e.toString()); |
|
|
|
|
debugPrint(s.toString()); |
|
|
|
|
NeonException.showSnackbar(context, e); |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
), |
|
|
|
|
); |
|
|
|
|
await saveFileWithPickDialog(fileName, Uint8List.fromList(utf8.encode(data))); |
|
|
|
|
} catch (e, s) { |
|
|
|
|
debugPrint(e.toString()); |
|
|
|
|
debugPrint(s.toString()); |
|
|
|
|
NeonException.showSnackbar(context, e); |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
), |
|
|
|
|
CustomSettingsTile( |
|
|
|
|
leading: Icon( |
|
|
|
|
MdiIcons.import, |
|
|
|
|
color: Theme.of(context).colorScheme.primary, |
|
|
|
|
), |
|
|
|
|
CustomSettingsTile( |
|
|
|
|
leading: Icon( |
|
|
|
|
MdiIcons.import, |
|
|
|
|
color: Theme.of(context).colorScheme.primary, |
|
|
|
|
), |
|
|
|
|
title: Text(AppLocalizations.of(context).settingsImport), |
|
|
|
|
onTap: () async { |
|
|
|
|
try { |
|
|
|
|
final result = await FilePicker.platform.pickFiles( |
|
|
|
|
withData: true, |
|
|
|
|
); |
|
|
|
|
title: Text(AppLocalizations.of(context).settingsImport), |
|
|
|
|
onTap: () async { |
|
|
|
|
final settingsExportHelper = _buildSettingsExportHelper(context); |
|
|
|
|
|
|
|
|
|
if (result == null) { |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
try { |
|
|
|
|
final result = await FilePicker.platform.pickFiles( |
|
|
|
|
withData: true, |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
if (!result.files.single.path!.endsWith('.json.base64')) { |
|
|
|
|
if (mounted) { |
|
|
|
|
NeonException.showSnackbar( |
|
|
|
|
context, |
|
|
|
|
AppLocalizations.of(context).settingsImportWrongFileExtension, |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
if (result == null) { |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
final data = |
|
|
|
|
json.decode(utf8.decode(base64.decode(utf8.decode(result.files.single.bytes!)))); |
|
|
|
|
await settingsExportHelper.applyFromJson(data as Map<String, dynamic>); |
|
|
|
|
} catch (e, s) { |
|
|
|
|
debugPrint(e.toString()); |
|
|
|
|
debugPrint(s.toString()); |
|
|
|
|
NeonException.showSnackbar(context, e); |
|
|
|
|
if (!result.files.single.path!.endsWith('.json.base64')) { |
|
|
|
|
if (mounted) { |
|
|
|
|
NeonException.showSnackbar( |
|
|
|
|
context, |
|
|
|
|
AppLocalizations.of(context).settingsImportWrongFileExtension, |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
|
|
|
|
|
final data = json.decode(utf8.decode(base64.decode(utf8.decode(result.files.single.bytes!)))); |
|
|
|
|
|
|
|
|
|
await settingsExportHelper.applyFromJson(data as Map<String, dynamic>); |
|
|
|
|
} catch (e, s) { |
|
|
|
|
debugPrint(e.toString()); |
|
|
|
|
debugPrint(s.toString()); |
|
|
|
|
NeonException.showSnackbar(context, e); |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
); |
|
|
|
|
}, |
|
|
|
|
), |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
SettingsExportHelper _buildSettingsExportHelper(final BuildContext context) { |
|
|
|
|
final globalOptions = Provider.of<GlobalOptions>(context); |
|
|
|
|
final accountsBloc = Provider.of<AccountsBloc>(context, listen: false); |
|
|
|
|
final appImplementations = Provider.of<Iterable<AppImplementation>>(context); |
|
|
|
|
|
|
|
|
|
return SettingsExportHelper( |
|
|
|
|
globalOptions: globalOptions, |
|
|
|
|
appImplementations: appImplementations, |
|
|
|
|
accountSpecificOptions: accountsBloc.accounts.value.asMap().map( |
|
|
|
|
(final _, final account) => MapEntry(account, accountsBloc.getOptionsFor(account).options), |
|
|
|
|
), |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
enum SettingsAccountAction { |
|
|
|
|