fix thread back button behaviour
This commit is contained in:
@@ -85,7 +85,7 @@ class ThreadHeader extends StatelessWidget implements PreferredSizeWidget {
|
|||||||
? AspectRatio(
|
? AspectRatio(
|
||||||
aspectRatio: 1,
|
aspectRatio: 1,
|
||||||
child: IconButton(
|
child: IconButton(
|
||||||
onPressed: onBackPressed,
|
onPressed: onBackPressed ?? () => Navigator.pop(context),
|
||||||
icon: StreamSvgIcon.close(
|
icon: StreamSvgIcon.close(
|
||||||
size: 24,
|
size: 24,
|
||||||
color: Theme.of(context).brightness == Brightness.dark
|
color: Theme.of(context).brightness == Brightness.dark
|
||||||
|
|||||||
Reference in New Issue
Block a user