fix(mobile): closing editor goes back to main page

This commit is contained in:
Yaros
2025-10-04 19:36:05 +02:00
parent bb72d723e2
commit 82cab7b81d

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(