mirror of
https://github.com/immich-app/immich.git
synced 2025-07-31 15:08:44 -04:00
fix: album deleted toast message (#20121)
* fix: album deleted toast message * Update mobile/lib/presentation/pages/drift_remote_album.page.dart Co-authored-by: shenlong <139912620+shenlong-tanwen@users.noreply.github.com> * Fix lint --------- Co-authored-by: shenlong <139912620+shenlong-tanwen@users.noreply.github.com>
This commit is contained in:
parent
089085fcdb
commit
3b9bfceef0
@ -397,6 +397,7 @@
|
||||
"album_cover_updated": "Album cover updated",
|
||||
"album_delete_confirmation": "Are you sure you want to delete the album {album}?",
|
||||
"album_delete_confirmation_description": "If this album is shared, other users will not be able to access it anymore.",
|
||||
"album_deleted": "Album deleted",
|
||||
"album_info_card_backup_album_excluded": "EXCLUDED",
|
||||
"album_info_card_backup_album_included": "INCLUDED",
|
||||
"album_info_updated": "Album info updated",
|
||||
|
@ -2,7 +2,6 @@ import 'package:auto_route/auto_route.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
||||
|
||||
import 'package:immich_mobile/domain/models/album/album.model.dart';
|
||||
import 'package:immich_mobile/domain/models/asset/base_asset.model.dart';
|
||||
import 'package:immich_mobile/extensions/build_context_extensions.dart';
|
||||
@ -164,8 +163,7 @@ class _RemoteAlbumPageState extends ConsumerState<RemoteAlbumPage> {
|
||||
|
||||
ImmichToast.show(
|
||||
context: context,
|
||||
msg: 'library_deleted'
|
||||
.t(context: context), // Using existing success message
|
||||
msg: 'album_deleted'.t(context: context),
|
||||
toastType: ToastType.success,
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user