Fixed error

This commit is contained in:
Shradheya Thakre 2018-02-15 21:15:59 +08:00
parent 5133dbaed0
commit c8e3b52b10

View file

@ -92,7 +92,7 @@ public class SettingsFragment extends PreferenceFragment {
} else { } else {
editor.putInt(Prefs.UPLOADS_SHOWING, value); editor.putInt(Prefs.UPLOADS_SHOWING, value);
editor.putBoolean(Prefs.IS_CONTRIBUTION_COUNT_CHANGED,true); editor.putBoolean(Prefs.IS_CONTRIBUTION_COUNT_CHANGED,true);
uploadLimit.setSummary(newValue.toString()); uploadLimit.setSummary(String.valueOf(value));
} }
editor.apply(); editor.apply();
return true; return true;