opt ui of Windows session dialog (#13303)
Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
@@ -2121,15 +2121,20 @@ void showWindowsSessionsDialog(
|
|||||||
|
|
||||||
return CustomAlertDialog(
|
return CustomAlertDialog(
|
||||||
title: null,
|
title: null,
|
||||||
content: msgboxContent(type, title, text),
|
content: Column(
|
||||||
|
mainAxisSize: MainAxisSize.min,
|
||||||
|
children: [
|
||||||
|
msgboxContent(type, title, text).marginOnly(bottom: 12),
|
||||||
|
ComboBox(
|
||||||
|
keys: sids,
|
||||||
|
values: names,
|
||||||
|
initialKey: selectedUserValue,
|
||||||
|
onChanged: (value) {
|
||||||
|
selectedUserValue = value;
|
||||||
|
}),
|
||||||
|
],
|
||||||
|
),
|
||||||
actions: [
|
actions: [
|
||||||
ComboBox(
|
|
||||||
keys: sids,
|
|
||||||
values: names,
|
|
||||||
initialKey: selectedUserValue,
|
|
||||||
onChanged: (value) {
|
|
||||||
selectedUserValue = value;
|
|
||||||
}),
|
|
||||||
dialogButton('Connect', onPressed: submit, isOutline: false),
|
dialogButton('Connect', onPressed: submit, isOutline: false),
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user