fix: show update button on native if frame off

This commit is contained in:
Paul Makles
2022-06-17 16:57:13 +01:00
parent 1e8fd76819
commit 12217ae2a8

View File

@@ -46,7 +46,7 @@ export default function UpdateIndicator({ style }: Props) {
); );
} }
if (window.isNative) return null; if (window.isNative && window.native.getConfig().frame) return null;
return ( return (
<IconButton onClick={() => updateSW(true)}> <IconButton onClick={() => updateSW(true)}>