mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-10-28 23:10:17 +00:00
bug on peer platform for mac os
This commit is contained in:
1 parent
ad9788681b
commit
d75cdb7811
1 file changed
+1
-1
@@ -144,7 +144,7 @@ class _HomePageState extends State<HomePage> {
|
||||
|
||||
Widget getPlatformImage(String platform) {
|
||||
platform = platform.toLowerCase();
|
||||
if (platform == 'osx')
|
||||
if (platform == 'mac os')
|
||||
platform = 'mac';
|
||||
else if (platform != 'linux') platform = 'win';
|
||||
return Image.asset('assets/$platform.png', width: 36, height: 36);
|
||||
|
||||
Reference in new issue
Block a user