TF-3911 Support mail keyboard shortcut actions in email detailed view on web
This commit is contained in:
@@ -35,7 +35,7 @@ class ThreadDetailAppBar extends StatelessWidget {
|
||||
final ResponsiveUtils responsiveUtils;
|
||||
final ImagePaths imagePaths;
|
||||
final bool isSearchRunning;
|
||||
final void Function(BuildContext context) closeThreadDetailAction;
|
||||
final VoidCallback closeThreadDetailAction;
|
||||
final bool threadActionReady;
|
||||
final bool threadDetailIsStarred;
|
||||
final bool isThreadDetailEnabled;
|
||||
@@ -99,7 +99,7 @@ class ThreadDetailAppBar extends StatelessWidget {
|
||||
builder: (_, constraints) {
|
||||
Widget backButton = EmailViewBackButton(
|
||||
imagePaths: imagePaths,
|
||||
onBackAction: () => closeThreadDetailAction(context),
|
||||
onBackAction: closeThreadDetailAction,
|
||||
mailboxContain: mailboxContain,
|
||||
isSearchActivated: isSearchRunning,
|
||||
maxWidth: constraints.maxWidth,
|
||||
@@ -164,7 +164,7 @@ class ThreadDetailAppBar extends StatelessWidget {
|
||||
return PopScope(
|
||||
canPop: false,
|
||||
onPopInvokedWithResult: (_, __) {
|
||||
closeThreadDetailAction(context);
|
||||
closeThreadDetailAction();
|
||||
},
|
||||
child: child,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user