mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-28 18:03:14 +08:00
Android: Change Settings text to "Store Repo Externally"
The earlier mechanism was a bit confusing.
This commit is contained in:
@ -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:
|
||||
|
@ -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 = "";
|
||||
|
||||
|
Reference in New Issue
Block a user