From 878111f32de47062d9b0ae7031f00292b1e71d6b Mon Sep 17 00:00:00 2001 From: rustdesk Date: Wed, 11 Jan 2023 18:49:06 +0800 Subject: [PATCH] fix a3643f53bf1b80cc2a715f101ce199da2d42c1c1 --- flutter/lib/common.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flutter/lib/common.dart b/flutter/lib/common.dart index 1535c7ad8..9faa06d36 100644 --- a/flutter/lib/common.dart +++ b/flutter/lib/common.dart @@ -983,7 +983,7 @@ Widget getPlatformImage(String platform, {double size = 50}) { platform != kPeerPlatformAndroid) { platform = 'win'; } else { - platform = 'linux'; + platform = platform.toLowerCase(); } return SvgPicture.asset('assets/$platform.svg', height: size, width: size); }