mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-09 23:41:27 +03:00
fix mobile os password edit action
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -494,10 +494,23 @@ class _RemotePageState extends State<RemotePage> {
|
||||
final x = 120.0;
|
||||
final y = size.height;
|
||||
final menus = toolbarControls(context, id, gFFI);
|
||||
getChild(TTextMenu menu) {
|
||||
if (menu.trailingIcon != null) {
|
||||
return Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
children: [
|
||||
menu.child,
|
||||
menu.trailingIcon!,
|
||||
]);
|
||||
} else {
|
||||
return menu.child;
|
||||
}
|
||||
}
|
||||
|
||||
final more = menus
|
||||
.asMap()
|
||||
.entries
|
||||
.map((e) => PopupMenuItem<int>(child: e.value.child, value: e.key))
|
||||
.map((e) => PopupMenuItem<int>(child: getChild(e.value), value: e.key))
|
||||
.toList();
|
||||
() async {
|
||||
var index = await showMenu(
|
||||
|
||||
Reference in New Issue
Block a user