chore: Disable record on web

This commit is contained in:
Krille 2024-08-12 09:00:10 +02:00
parent 28473cda60
commit 8784acc7e6
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652

View file

@ -29,7 +29,8 @@ abstract class PlatformInfos {
static bool get usesTouchscreen => !isMobile;
static bool get platformCanRecord => (isMobile || isMacOS || isWeb);
/// Web could also record in theory but currently only wav which is too large
static bool get platformCanRecord => (isMobile || isMacOS);
static String get clientName =>
'${AppConfig.applicationName} ${isWeb ? 'web' : Platform.operatingSystem}${kReleaseMode ? '' : 'Debug'}';