We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b83a73 commit 6863317Copy full SHA for 6863317
ui/flutter/lib/app/modules/setting/views/setting_view.dart
@@ -762,7 +762,7 @@ class SettingView extends GetView<SettingController> {
762
width: 80,
763
child: DropdownButtonFormField<String>(
764
value: startCfg.value.network,
765
- onChanged: Util.isDesktop()
+ onChanged: Util.isDesktop() || Util.isAndroid()
766
? (value) async {
767
startCfg.update((val) {
768
val!.network = value!;
@@ -786,7 +786,8 @@ class SettingView extends GetView<SettingController> {
786
),
787
)
788
];
789
- if (Util.isDesktop() && startCfg.value.network == 'tcp') {
+ if ((Util.isDesktop() || Util.isAndroid()) &&
790
+ startCfg.value.network == 'tcp') {
791
final arr = startCfg.value.address.split(':');
792
var ip = '127.0.0.1';
793
var port = '0';
0 commit comments