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:
|
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:
|
||||||
|
@ -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 = "";
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user