minor tweak type userpreferences
This commit is contained in:
parent
abb7df7785
commit
8ed68eff9e
|
@ -14,7 +14,7 @@ class UserPreferences {
|
||||||
this.mmkv = MMKV;
|
this.mmkv = MMKV;
|
||||||
}
|
}
|
||||||
|
|
||||||
getString(key: string) {
|
getString(key: string): string | null {
|
||||||
try {
|
try {
|
||||||
return this.mmkv.getString(key) ?? null;
|
return this.mmkv.getString(key) ?? null;
|
||||||
} catch {
|
} catch {
|
||||||
|
|
Loading…
Reference in New Issue