mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 09:25:27 +00:00
fix: show update button on native if frame off
This commit is contained in:
@@ -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)}>
|
||||
|
||||
Reference in New Issue
Block a user