From 9e9d6fa002c9547b92687de8facad041c63a77a3 Mon Sep 17 00:00:00 2001 From: rustdesk Date: Wed, 11 Jan 2023 18:41:45 +0800 Subject: [PATCH] fix linux.svg --- flutter/lib/common.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flutter/lib/common.dart b/flutter/lib/common.dart index 93cbe135d..1535c7ad8 100644 --- a/flutter/lib/common.dart +++ b/flutter/lib/common.dart @@ -982,6 +982,8 @@ Widget getPlatformImage(String platform, {double size = 50}) { } else if (platform != kPeerPlatformLinux && platform != kPeerPlatformAndroid) { platform = 'win'; + } else { + platform = 'linux'; } return SvgPicture.asset('assets/$platform.svg', height: size, width: size); }