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