mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-02 09:33:06 +02:00
Fix comment on f255f3a519fe
This commit is contained in:
@@ -619,9 +619,7 @@ public class SettingsActivity extends PreferenceActivity {
|
||||
Log.i(TAG, "Resetting all settings");
|
||||
|
||||
// Actually wipe preferences (and save synchronously).
|
||||
Editor editor = preferences.edit();
|
||||
editor.clear();
|
||||
editor.commit();
|
||||
preferences.edit().clear().commit();
|
||||
|
||||
// Give UI feedback in the UI thread.
|
||||
runOnUiThread(new Runnable() {
|
||||
|
||||
Reference in New Issue
Block a user