forked from abner/for-legacy-web
fix: show update button on native if frame off
parent
34e6995d86
commit
63d5f6bb7d
|
|
@ -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 (
|
||||
<IconButton onClick={() => updateSW(true)}>
|
||||
|
|
|
|||
Loading…
Reference in New Issue