fix: disable mapDrifting when useOSM in NekoGeneral

This commit is contained in:
luvletter2333 2022-08-31 00:03:41 +08:00
parent 34aff2a223
commit 14fdabd0c2
No known key found for this signature in database
GPG Key ID: A26A8880836E1978
1 changed files with 3 additions and 0 deletions

View File

@ -774,6 +774,9 @@ public class NekoGeneralSettingsActivity extends BaseFragment {
NekoConfig.useOSMDroidMap.setConfigBool(true);
((ConfigCellTextCheck) useOSMDroidMapRow).setEnabled(false);
cellGroup.rows.remove(mapDriftingFixForGoogleMapsRow);
} else {
if (NekoConfig.useOSMDroidMap.Bool())
((ConfigCellTextCheck) mapDriftingFixForGoogleMapsRow).setEnabled(false);
}
boolean enabled;