fix linux.svg
This commit is contained in:
parent
96e608ff07
commit
9e9d6fa002
1 changed files with 2 additions and 0 deletions
|
|
@ -982,6 +982,8 @@ Widget getPlatformImage(String platform, {double size = 50}) {
|
|||
} else if (platform != kPeerPlatformLinux &&
|
||||
platform != kPeerPlatformAndroid) {
|
||||
platform = 'win';
|
||||
} else {
|
||||
platform = 'linux';
|
||||
}
|
||||
return SvgPicture.asset('assets/$platform.svg', height: size, width: size);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue