An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.
Rust androidanydeskdartflatpakflutterflutter-appsioslinuxmacosp2prdpremote-controlremote-desktoprustrust-langteamviewervncwaylandwindows
refact: audio input, combobox instead of radio (#8965)
fufesou51b250435dcd
diff --git a/flutter/lib/desktop/pages/desktop_setting_page.dart b/flutter/lib/desktop/pages/desktop_setting_page.dartindex 79c18c521..ba2c14d69 100644--- a/flutter/lib/desktop/pages/desktop_setting_page.dart+++ b/flutter/lib/desktop/pages/desktop_setting_page.dart@@ -515,16 +515,16 @@ class _GeneralState extends State<_General> {}builder(devices, currentDevice, setDevice) {- return _Card(title: 'Audio Input Device', children: [- ...devices.map((device) => _Radio<String>(context,- value: device,- groupValue: currentDevice,- autoNewLine: false,- label: device, onChanged: (value) {- setDevice(value);- setState(() {});- }))- ]);+ final child = ComboBox(+ keys: devices,+ values: devices,+ initialKey: currentDevice,+ onChanged: (key) async {+ setDevice(key);+ setState(() {});+ },+ ).marginOnly(left: _kContentHMargin);+ return _Card(title: 'Audio Input Device', children: [child]);}return AudioInput(builder: builder, isCm: false, isVoiceCall: false);