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