Compare commits

..

1 Commits

Author SHA1 Message Date
Yaros
82cab7b81d fix(mobile): closing editor goes back to main page 2025-10-04 19:36:05 +02:00
2 changed files with 5 additions and 2 deletions

View File

@@ -44,7 +44,10 @@ class DriftTrashPage extends StatelessWidget {
return SliverPadding(
padding: const EdgeInsets.all(16.0),
sliver: SliverToBoxAdapter(
child: const Text("trash_page_info").t(context: context, args: {"days": "$trashDays"}),
child: SizedBox(
height: 24.0,
child: const Text("trash_page_info").t(context: context, args: {"days": "$trashDays"}),
),
),
);
},

View File

@@ -91,7 +91,7 @@ class DriftEditImagePage extends ConsumerWidget {
backgroundColor: context.scaffoldBackgroundColor,
leading: IconButton(
icon: Icon(Icons.close_rounded, color: context.primaryColor, size: 24),
onPressed: () => context.navigator.popUntil((route) => route.isFirst),
onPressed: () => context.navigator.pop(),
),
actions: <Widget>[
TextButton(