mirror of
https://github.com/jellyfin/jellyfin-expo.git
synced 2024-11-27 00:00:26 +00:00
fix android version type mismatch
This commit is contained in:
parent
e7b7e736a8
commit
4fe33ec822
@ -55,5 +55,5 @@ export function isCompact({ height = 500 } = {}) {
|
||||
// Does the platform support system level themes: https://docs.expo.io/versions/latest/sdk/appearance/
|
||||
export function isSystemThemeSupported() {
|
||||
return (Platform.OS === 'ios' && compareVersions.compare(Platform.Version, '12', '>')) ||
|
||||
(Platform.OS === 'android' && compareVersions.compare(Platform.Version, '9', '>'));
|
||||
(Platform.OS === 'android' && compareVersions.compare(String(Platform.Version), '9', '>'));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user