Skip to content

Commit

Permalink
fix: ios flicker
Browse files Browse the repository at this point in the history
  • Loading branch information
shenlong-tanwen committed Apr 6, 2024
1 parent 12a1e4c commit 6c8ac23
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions mobile/lib/modules/backup/views/overnight_upload_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,9 @@ class OvernightUploadPage extends HookConsumerWidget {
[],
);

return AnimatedSwitcher(
duration: const Duration(milliseconds: 500),
child: isInProgress
? _BackupInProgress(stopBackup)
: _OvernightInfo(startBackup),
);
return isInProgress
? _BackupInProgress(stopBackup)
: _OvernightInfo(startBackup);
}
}

Expand Down

0 comments on commit 6c8ac23

Please sign in to comment.