mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
Fix lint issue: Missing commit on Shared prefs editor
This commit is contained in:
parent
6df9ee272f
commit
36b6715fad
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ public class SingleUploadFragment extends Fragment {
|
|||
setLicenseSummary(license);
|
||||
SharedPreferences.Editor editor = prefs.edit();
|
||||
editor.putString(Prefs.DEFAULT_LICENSE, license);
|
||||
editor.commit();
|
||||
editor.apply();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue