Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

fix tile type droplist and change to build 44

rustdesk1a69d525af31
diff --git a/flutter/lib/common/widgets/peer_tab_page.dart b/flutter/lib/common/widgets/peer_tab_page.dart
index a04fec434..c89a88de5 100644
--- a/flutter/lib/common/widgets/peer_tab_page.dart
+++ b/flutter/lib/common/widgets/peer_tab_page.dart
@@ -802,13 +802,20 @@ class _PeerViewDropdownState extends State<PeerViewDropdown> {
child: SizedBox(
height: 36,
child: getRadio<PeerUiType>(
- Text(
- translate(types.indexOf(e) == 0
+ Tooltip(
+ message: translate(types.indexOf(e) == 0
? 'Big tiles'
: types.indexOf(e) == 1
? 'Small tiles'
: 'List'),
- style: style),
+ child: Icon(
+ e == PeerUiType.grid
+ ? Icons.grid_view_rounded
+ : e == PeerUiType.list
+ ? Icons.view_list_rounded
+ : Icons.view_agenda_rounded,
+ size: 18,
+ )),
e,
peerCardUiType.value,
dense: true,
@@ -838,7 +845,7 @@ class _PeerViewDropdownState extends State<PeerViewDropdown> {
child: Icon(
peerCardUiType.value == PeerUiType.grid
? Icons.grid_view_rounded
- : peerCardUiType.value == PeerUiType.tile
+ : peerCardUiType.value == PeerUiType.list
? Icons.view_list_rounded
: Icons.view_agenda_rounded,
size: 18,
diff --git a/flutter/pubspec.yaml b/flutter/pubspec.yaml
index 85c6cda11..d4d25d0d7 100644
--- a/flutter/pubspec.yaml
+++ b/flutter/pubspec.yaml
@@ -16,7 +16,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# 1.1.9-1 works for android, but for ios it becomes 1.1.91, need to set it to 1.1.9-a.1 for iOS, will get 1.1.9.1, but iOS store not allow 4 numbers
-version: 1.2.6+43
+version: 1.2.6+44
environment:
sdk: '^3.1.0'