fix: error on navigating back from backup selection page (#20299)

Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
shenlong 2025-07-27 00:28:27 +05:30 committed by GitHub
parent 3a5d82f790
commit 7c36cbaf0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -83,7 +83,6 @@ class _DriftBackupAlbumSelectionPageState extends ConsumerState<DriftBackupAlbum
if (didPop && !_hasPopped) {
_hasPopped = true;
super.initState();
final currentUser = ref.read(currentUserProvider);
if (currentUser == null) {
return;