fix: disable mapDrifting when useOSM in NekoGeneral

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

View File

@ -775,6 +775,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;