mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-14 09:46:01 -07:00
chore: Lots of bug fixes and navigation improvements
This commit is contained in:
parent
9bb5e81812
commit
92d5391b93
35 changed files with 513 additions and 455 deletions
|
|
@ -8,7 +8,6 @@ import 'package:fladder/models/book_model.dart';
|
|||
import 'package:fladder/models/item_base_model.dart';
|
||||
import 'package:fladder/models/items/episode_model.dart';
|
||||
import 'package:fladder/models/items/item_shared_models.dart';
|
||||
import 'package:fladder/models/items/photos_model.dart';
|
||||
import 'package:fladder/providers/sync_provider.dart';
|
||||
import 'package:fladder/providers/user_provider.dart';
|
||||
import 'package:fladder/screens/collections/add_to_collection.dart';
|
||||
|
|
@ -142,7 +141,7 @@ extension ItemBaseModelExtensions on ItemBaseModel {
|
|||
else if (!exclude.contains(ItemActions.showAlbum) && galleryItem)
|
||||
ItemActionButton(
|
||||
icon: Icon(FladderItemType.photoAlbum.icon),
|
||||
action: () => (this as PhotoModel).navigateToAlbum(context),
|
||||
action: () => parentBaseModel.navigateTo(context),
|
||||
label: Text(context.localized.showAlbum),
|
||||
),
|
||||
if (!exclude.contains(ItemActions.playFromStart))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue