From 1928768bae5b4d4117bc960b6858586234487d60 Mon Sep 17 00:00:00 2001 From: open-trade Date: Sat, 28 Nov 2020 15:24:44 +0800 Subject: [PATCH] bug fix --- flutter_hbb/lib/remote_page.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flutter_hbb/lib/remote_page.dart b/flutter_hbb/lib/remote_page.dart index f0a555e9c..73c022f88 100644 --- a/flutter_hbb/lib/remote_page.dart +++ b/flutter_hbb/lib/remote_page.dart @@ -639,7 +639,7 @@ void showOptions(BuildContext context) { displays.add(Divider(color: MyTheme.border)); } showAlertDialog(context, (setState) { - final more = []; + final more = []; if (FFI.ffiModel.permissions['audio'] != false) { more.add(CheckboxListTile( value: FFI.getByName('toggle_option', 'disable-audio') == 'true', @@ -724,7 +724,7 @@ void showActions(BuildContext context) { final size = MediaQuery.of(context).size; final x = 120.0; final y = size.height; - final more = []; + final more = >[]; if (FFI.ffiModel.pi.version.isNotEmpty) { more.add(PopupMenuItem(child: Text('Refresh'), value: 'refresh')); } @@ -736,7 +736,7 @@ void showActions(BuildContext context) { var value = await showMenu( context: context, position: RelativeRect.fromLTRB(x, y, x, y), - items: [ + items: [ PopupMenuItem( child: Text('Insert Ctrl + Alt + Del'), value: 'cad'), PopupMenuItem(child: Text('Insert Lock'), value: 'lock'),