mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
fix: hide view in timeline button on local timeline (#22713)
This commit is contained in:
parent
cf4cf56ac0
commit
2b7d28528d
1 changed files with 2 additions and 1 deletions
|
|
@ -44,7 +44,8 @@ class ViewerTopAppBar extends ConsumerWidget implements PreferredSizeWidget {
|
|||
final showViewInTimelineButton =
|
||||
(previousRouteName != TabShellRoute.name || tabRoute == TabEnum.search) &&
|
||||
previousRouteName != AssetViewerRoute.name &&
|
||||
previousRouteName != null;
|
||||
previousRouteName != null &&
|
||||
previousRouteName != LocalTimelineRoute.name;
|
||||
|
||||
final isShowingSheet = ref.watch(assetViewerProvider.select((state) => state.showingBottomSheet));
|
||||
int opacity = ref.watch(assetViewerProvider.select((state) => state.backgroundOpacity));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue