add cancel button for showLoading

This commit is contained in:
rustdesk
2022-03-28 00:36:53 +08:00
parent 035934cd99
commit 795f97c2b6
2 changed files with 32 additions and 7 deletions

View File

@@ -306,12 +306,16 @@ class _RemotePageState extends State<RemotePage> {
onPressed: changeTouchMode,
)
]) +
<Widget>[
IconButton(
color: Colors.white,
icon: Icon(Icons.message),
onPressed: toggleChatOverlay,
),
(isWeb
? []
: <Widget>[
IconButton(
color: Colors.white,
icon: Icon(Icons.message),
onPressed: toggleChatOverlay,
)
]) +
[
IconButton(
color: Colors.white,
icon: Icon(Icons.more_vert),