chore: Disable record on web

pull/1272/head
Krille 7 months ago
parent 28473cda60
commit 8784acc7e6
No known key found for this signature in database
GPG Key ID: E067ECD60F1A0652

@ -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'}';

Loading…
Cancel
Save