fix kashkool
This commit is contained in:
@@ -91,6 +91,10 @@ export function getStoredAppVersion() {
|
||||
return localStorage.getItem(VERSION_STORAGE_KEY)
|
||||
}
|
||||
|
||||
export function getDisplayAppVersion(fallbackVersion: string) {
|
||||
return getStoredAppVersion() || fallbackVersion
|
||||
}
|
||||
|
||||
export function writeStoredAppVersion(version: string) {
|
||||
localStorage.setItem(VERSION_STORAGE_KEY, String(version).trim())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user