mirror of
https://github.com/immich-app/immich.git
synced 2025-12-17 01:11:13 +03:00
fix: change translation key for archive action button (#20336)
* chore: change translation key for archive action button * chore: await navigation before emitting event --------- Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
@@ -49,9 +49,9 @@ class DriftMemoryBottomInfo extends StatelessWidget {
|
||||
message: 'view_in_timeline'.tr(),
|
||||
child: MaterialButton(
|
||||
minWidth: 0,
|
||||
onPressed: () {
|
||||
context.maybePop();
|
||||
context.navigateTo(const TabShellRoute(children: [MainTimelineRoute()]));
|
||||
onPressed: () async {
|
||||
await context.maybePop();
|
||||
await context.navigateTo(const TabShellRoute(children: [MainTimelineRoute()]));
|
||||
EventStream.shared.emit(ScrollToDateEvent(fileCreatedDate));
|
||||
},
|
||||
shape: const CircleBorder(),
|
||||
|
||||
Reference in New Issue
Block a user