Android: Change Settings text to "Store Repo Externally"

The earlier mechanism was a bit confusing.
This commit is contained in:
Vishesh Handa
2020-10-23 13:52:49 +02:00
parent f75e119995
commit 9ed9744306
2 changed files with 4 additions and 4 deletions

View File

@ -134,7 +134,7 @@ settings:
storage: storage:
title: Storage title: Storage
fileName: Filename fileName: Filename
useLocal: Store Repo Internally external: Store Repo Externally
icloud: Store in iCloud icloud: Store in iCloud
repoLocation: Repo Location repoLocation: Repo Location
drawer: drawer:

View File

@ -292,10 +292,10 @@ class SettingsListState extends State<SettingsList> {
), ),
if (Platform.isAndroid) if (Platform.isAndroid)
SwitchListTile( SwitchListTile(
title: Text(tr('settings.storage.useLocal')), title: Text(tr('settings.storage.external')),
value: settings.storeInternally, value: !settings.storeInternally,
onChanged: (bool newVal) async { onChanged: (bool newVal) async {
if (newVal == true) { if (newVal == false) {
settings.storeInternally = true; settings.storeInternally = true;
settings.storageLocation = ""; settings.storageLocation = "";