mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-24 22:52:09 -05:00
fix: show update button on native if frame off
This commit is contained in:
parent
34e6995d86
commit
63d5f6bb7d
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue