fix a3643f53bf1b80cc2a715f101ce199da2d42c1c1
This commit is contained in:
parent
9e9d6fa002
commit
878111f32d
@ -983,7 +983,7 @@ Widget getPlatformImage(String platform, {double size = 50}) {
|
|||||||
platform != kPeerPlatformAndroid) {
|
platform != kPeerPlatformAndroid) {
|
||||||
platform = 'win';
|
platform = 'win';
|
||||||
} else {
|
} else {
|
||||||
platform = 'linux';
|
platform = platform.toLowerCase();
|
||||||
}
|
}
|
||||||
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