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:
title: Storage
fileName: Filename
useLocal: Store Repo Internally
external: Store Repo Externally
icloud: Store in iCloud
repoLocation: Repo Location
drawer:

View File

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