mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-27 23:19:02 +08:00
bug on peer platform for mac os
This commit is contained in:
parent
ad9788681b
commit
d75cdb7811
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user