mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-07 14:45:41 +12:00
paris changes
This commit is contained in:
parent
102361174a
commit
ab37cb571d
1 changed files with 0 additions and 1 deletions
|
@ -32,7 +32,6 @@ public class GlobalConfig {
|
||||||
return (T) value;
|
return (T) value;
|
||||||
}
|
}
|
||||||
|
|
||||||
//Need synchronized why SharedPreferences don't support aysnc write
|
|
||||||
public static synchronized <T extends Serializable> void set(Key<T> key, T value) {
|
public static synchronized <T extends Serializable> void set(Key<T> key, T value) {
|
||||||
if (value instanceof String) {
|
if (value instanceof String) {
|
||||||
data.edit().putString(key.name, (String) value).apply();
|
data.edit().putString(key.name, (String) value).apply();
|
||||||
|
|
Loading…
Add table
Reference in a new issue