fix linux.svg
This commit is contained in:
parent
96e608ff07
commit
9e9d6fa002
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user