mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-01 01:21:06 +03:00
remove stupid group, bad implementation, buggy, and not usable
This commit is contained in:
@@ -21,7 +21,6 @@ import 'package:flutter_svg/flutter_svg.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:texture_rgba_renderer/texture_rgba_renderer.dart';
|
||||
import 'package:uni_links/uni_links.dart';
|
||||
import 'package:uni_links_desktop/uni_links_desktop.dart';
|
||||
import 'package:url_launcher/url_launcher.dart';
|
||||
import 'package:uuid/uuid.dart';
|
||||
import 'package:win32/win32.dart' as win32;
|
||||
@@ -886,7 +885,7 @@ class CustomAlertDialog extends StatelessWidget {
|
||||
child: content,
|
||||
),
|
||||
actions: actions,
|
||||
titlePadding: MyTheme.dialogTitlePadding(content: content != null),
|
||||
titlePadding: MyTheme.dialogTitlePadding(),
|
||||
contentPadding:
|
||||
MyTheme.dialogContentPadding(actions: actions is List),
|
||||
actionsPadding: MyTheme.dialogActionsPadding(),
|
||||
@@ -1264,6 +1263,9 @@ Future<bool> matchPeer(String searchText, Peer peer) async {
|
||||
|
||||
/// Get the image for the current [platform].
|
||||
Widget getPlatformImage(String platform, {double size = 50}) {
|
||||
if (platform.isEmpty) {
|
||||
return Container(width: size, height: size);
|
||||
}
|
||||
if (platform == kPeerPlatformMacOS) {
|
||||
platform = 'mac';
|
||||
} else if (platform != kPeerPlatformLinux &&
|
||||
|
||||
Reference in New Issue
Block a user