mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2026-09-29 12:21:50 +00:00
correctness
use apply() on SharedPreferences use dp instead of sp for text sizes BUILD SUCCESSFUL in 22s 39 actionable tasks: 10 executed, 29 up-to-date
This commit is contained in:
@@ -264,7 +264,7 @@ public class ContentSettingsFragment extends BasePreferenceFragment {
|
||||
else if (v instanceof String)
|
||||
prefEdit.putString(key, ((String) v));
|
||||
}
|
||||
prefEdit.commit();
|
||||
prefEdit.apply();
|
||||
} catch (FileNotFoundException e) {
|
||||
e.printStackTrace();
|
||||
} catch (IOException e) {
|
||||
|
||||
Reference in New Issue
Block a user