minor tweak type userpreferences

This commit is contained in:
Reinaldo Neto 2023-07-05 14:59:30 -03:00
parent abb7df7785
commit 8ed68eff9e
1 changed files with 1 additions and 1 deletions

View File

@ -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 {