fix linux.svg

This commit is contained in:
rustdesk 2023-01-11 18:41:45 +08:00
parent 96e608ff07
commit 9e9d6fa002

View File

@ -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);
}