perf: optimize by removing unnecessary animations on Android, closes #1360 (#1365)

This commit is contained in:
Huang Xin
2025-06-07 12:53:53 +08:00
committed by GitHub
parent 56f4b275f4
commit 5bdc29fe84
2 changed files with 3 additions and 1 deletions
@@ -260,7 +260,7 @@ export const UpdaterContent = ({ version }: { version?: string }) => {
}
};
if (!isMounted) {
if (!isMounted || !update) {
return null;
}