mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
More permissive logging in
This commit is contained in:
@ -34,5 +34,7 @@ const features: { feature: Features; version: number }[] = [
|
||||
]
|
||||
|
||||
export const featureCheck = (feature: Features, v?: string): boolean =>
|
||||
(features.find(f => f.feature === feature)?.version || 999) <=
|
||||
parseFloat(v || getAccountStorage.string('version'))
|
||||
v
|
||||
? (features.find(f => f.feature === feature)?.version || 999) <=
|
||||
parseFloat(v || getAccountStorage.string('version'))
|
||||
: false
|
||||
|
Reference in New Issue
Block a user