fix(mobile): closing editor goes back to main page
This commit is contained in:
@@ -91,7 +91,7 @@ class DriftEditImagePage extends ConsumerWidget {
|
|||||||
backgroundColor: context.scaffoldBackgroundColor,
|
backgroundColor: context.scaffoldBackgroundColor,
|
||||||
leading: IconButton(
|
leading: IconButton(
|
||||||
icon: Icon(Icons.close_rounded, color: context.primaryColor, size: 24),
|
icon: Icon(Icons.close_rounded, color: context.primaryColor, size: 24),
|
||||||
onPressed: () => context.navigator.popUntil((route) => route.isFirst),
|
onPressed: () => context.navigator.pop(),
|
||||||
),
|
),
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
TextButton(
|
TextButton(
|
||||||
|
|||||||
Reference in New Issue
Block a user