remove stupid group, bad implementation, buggy, and not usable

This commit is contained in:
rustdesk
2023-06-23 17:05:48 +08:00
parent 58e4d66b44
commit 31eea1482b
16 changed files with 34 additions and 35 deletions

View File

@@ -1,10 +1,8 @@
import 'dart:convert';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_hbb/common.dart';
import 'package:flutter_hbb/models/platform_model.dart';
import 'package:get/get.dart';
void showPeerSelectionDialog(
{bool singleSelection = false,
@@ -48,9 +46,8 @@ void showPeerSelectionDialog(
key: ValueKey(index),
height: 50.0,
decoration: BoxDecoration(
color: Theme.of(context).highlightColor,
borderRadius: BorderRadius.circular(12.0)
),
color: Theme.of(context).highlightColor,
borderRadius: BorderRadius.circular(12.0)),
padding: EdgeInsets.symmetric(horizontal: 16.0, vertical: 4.0),
margin: EdgeInsets.symmetric(vertical: 4.0),
child: Row(
@@ -58,14 +55,18 @@ void showPeerSelectionDialog(
mainAxisSize: MainAxisSize.max,
children: [
// platform
SizedBox(width: 8.0,),
SizedBox(
width: 8.0,
),
Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
getPlatformImage(platform, size: 34.0),
],
),
SizedBox(width: 8.0,),
SizedBox(
width: 8.0,
),
// id/alias
Expanded(child: Text(alias.isEmpty ? id : alias)),
],