Skip to content

Commit

Permalink
Return false to prevent adding the preference again
Browse files Browse the repository at this point in the history
  • Loading branch information
avazirna committed Oct 25, 2024
1 parent 480c6ba commit 3b4a58f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/org/commcare/preferences/DeveloperPreferences.java
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ public void onCreatePreferences(Bundle savedInstanceState, String rootKey) {
SharedPreferences appPreferences = CommCareApplication.instance().getCurrentApp()
.getAppPreferences();
appPreferences.edit().remove(PREFS_LOG_POST_URL_KEY).apply();
return false;
}
return true;
});
Expand Down

0 comments on commit 3b4a58f

Please sign in to comment.