fix: Android Download

This commit is contained in:
Christian Pauly 2020-10-28 08:05:10 +01:00
commit 08a3b199e7
5 changed files with 37 additions and 7 deletions

View file

@ -11,5 +11,8 @@ abstract class PlatformInfos {
static bool get isBetaDesktop =>
!kIsWeb && (Platform.isWindows || Platform.isLinux);
static bool get isDesktop =>
!kIsWeb && (Platform.isLinux || Platform.isWindows || Platform.isMacOS);
static bool get usesTouchscreen => !isMobile;
}