fix for #3240
This commit is contained in:
parent
5b58e957f6
commit
897f694ad4
2
flutter/assets/actions_mobile.svg
Normal file
2
flutter/assets/actions_mobile.svg
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="91.748 41.508 32 32" width="32pt" height="32pt"><g><path d=" M 91.748 41.508 L 123.748 41.508 L 123.748 73.508 L 91.748 73.508 L 91.748 41.508 Z " fill="none"/><path d=" M 104.884 48.3 L 110.612 48.3 C 111.975 48.3 113.082 49.24 113.082 50.398 L 113.082 61.846 C 113.082 63.004 111.975 63.944 110.612 63.944 L 104.884 63.944 C 103.521 63.944 102.415 63.004 102.415 61.846 L 102.415 50.398 C 102.415 49.24 103.521 48.3 104.884 48.3 L 104.884 48.3 Z M 104.88 45.608 L 110.609 45.608 C 110.609 45.608 110.609 45.608 110.609 45.608 C 111.983 45.608 113.296 46.153 114.259 47.116 C 115.228 48.085 115.773 49.398 115.773 50.772 L 115.773 64.244 C 115.773 65.611 115.228 66.923 114.259 67.893 C 113.296 68.862 111.983 69.408 110.609 69.408 C 110.609 69.408 110.609 69.408 110.609 69.408 L 104.88 69.408 C 104.88 69.408 104.88 69.408 104.88 69.408 C 103.513 69.408 102.2 68.862 101.231 67.893 C 100.261 66.923 99.723 65.611 99.723 64.244 L 99.723 50.772 C 99.723 49.398 100.261 48.085 101.231 47.116 C 102.2 46.153 103.513 45.608 104.88 45.608 C 104.88 45.608 104.88 45.608 104.88 45.608 L 104.88 45.608 Z M 106.287 66.684 C 106.287 65.878 106.942 65.223 107.748 65.223 C 108.554 65.223 109.209 65.878 109.209 66.684 C 109.209 67.491 108.554 68.145 107.748 68.145 C 106.942 68.145 106.287 67.491 106.287 66.684 Z " fill-rule="evenodd" fill="rgb(0,0,0)"/></g></svg>
|
After Width: | Height: | Size: 1.5 KiB |
@ -413,14 +413,18 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
|
||||
menubarItems.add(_buildPinMenubar(context));
|
||||
menubarItems.add(_buildFullscreen(context));
|
||||
if (widget.ffi.ffiModel.isPeerAndroid) {
|
||||
menubarItems.add(IconButton(
|
||||
menubarItems.add(MenuButton(
|
||||
tooltip: translate('Mobile Actions'),
|
||||
color: _MenubarTheme.blueColor,
|
||||
icon: const Icon(Icons.build),
|
||||
icon: SvgPicture.asset(
|
||||
"assets/actions_mobile.svg",
|
||||
color: Colors.white,
|
||||
),
|
||||
onPressed: () {
|
||||
widget.ffi.dialogManager
|
||||
.toggleMobileActionsOverlay(ffi: widget.ffi);
|
||||
},
|
||||
color: _MenubarTheme.blueColor,
|
||||
hoverColor: _MenubarTheme.hoverBlueColor,
|
||||
));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user