High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix: Refresh local album overview page after asset deletion (#28586)
Lauritz Tiestea5ce3fc927c2
diff --git a/mobile/lib/presentation/widgets/action_buttons/delete_local_action_button.widget.dart b/mobile/lib/presentation/widgets/action_buttons/delete_local_action_button.widget.dartindex 2e15de49df..6911d09f89 100644--- a/mobile/lib/presentation/widgets/action_buttons/delete_local_action_button.widget.dart+++ b/mobile/lib/presentation/widgets/action_buttons/delete_local_action_button.widget.dart@@ -9,6 +9,7 @@ import 'package:immich_mobile/presentation/widgets/action_buttons/base_action_buimport 'package:immich_mobile/providers/infrastructure/action.provider.dart';import 'package:immich_mobile/providers/timeline/multiselect.provider.dart';import 'package:immich_mobile/widgets/common/immich_toast.dart';+import 'package:immich_mobile/providers/infrastructure/album.provider.dart';/// This delete action has the following behavior:/// - Prompt to delete the asset locally@@ -39,6 +40,8 @@ class DeleteLocalActionButton extends ConsumerWidget {return;}+ ref.invalidate(localAlbumProvider);+final successMessage = 'delete_local_action_prompt'.t(context: context, args: {'count': result.count.toString()});if (context.mounted) {