High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(mobile): remain on albums tab after album deletion (#16698)
Yarosc12986d38c70
diff --git a/mobile/lib/widgets/album/album_viewer_appbar.dart b/mobile/lib/widgets/album/album_viewer_appbar.dartindex b058f29e7d..451987316b 100644--- a/mobile/lib/widgets/album/album_viewer_appbar.dart+++ b/mobile/lib/widgets/album/album_viewer_appbar.dart@@ -58,12 +58,7 @@ class AlbumViewerAppbar extends HookConsumerWidgetfinal bool success =await ref.watch(albumProvider.notifier).deleteAlbum(album);- if (album.shared) {- context.navigateTo(const TabControllerRoute(children: [AlbumsRoute()]));- } else {- context- .navigateTo(const TabControllerRoute(children: [LibraryRoute()]));- }+ context.navigateTo(const TabControllerRoute(children: [AlbumsRoute()]));if (!success) {ImmichToast.show(