mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2026-04-21 13:49:38 +00:00
fix: improve navigation stack and ensure square cover aspect ratios
Navigation fixes: - Change goNamed to pushNamed in all library browser pages - Maintains proper back navigation stack - Back button now goes step by step instead of to beginning - Prevents app from closing when navigating back from book detail Grid layout fixes: - Book covers are now always square (1.0 aspect ratio) - Overall card aspect ratio is 0.75 to provide space for text - Wrap cover in AspectRatio widget instead of using Expanded - Ensures title and author info always visible below covers - Fixes issue where book info was missing in series view
This commit is contained in:
parent
cf0778e263
commit
8667bd03dd
4 changed files with 8 additions and 7 deletions
|
|
@ -86,7 +86,7 @@ class GenreListTile extends StatelessWidget {
|
|||
trailing: const Icon(Icons.chevron_right),
|
||||
onTap: () {
|
||||
// Navigate to filtered items page with genre filter
|
||||
context.goNamed(
|
||||
context.pushNamed(
|
||||
Routes.libraryFiltered.name,
|
||||
extra: {
|
||||
'filter': GenreFilter(genre),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue