mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-14 10:51:28 +03:00
fix linux.svg
This commit is contained in:
@@ -982,6 +982,8 @@ Widget getPlatformImage(String platform, {double size = 50}) {
|
|||||||
} else if (platform != kPeerPlatformLinux &&
|
} else if (platform != kPeerPlatformLinux &&
|
||||||
platform != kPeerPlatformAndroid) {
|
platform != kPeerPlatformAndroid) {
|
||||||
platform = 'win';
|
platform = 'win';
|
||||||
|
} else {
|
||||||
|
platform = 'linux';
|
||||||
}
|
}
|
||||||
return SvgPicture.asset('assets/$platform.svg', height: size, width: size);
|
return SvgPicture.asset('assets/$platform.svg', height: size, width: size);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user