re-enable recording on web

pull/1384/head
ggurdin 1 year ago
parent 5089446aee
commit eabd5b10ae
No known key found for this signature in database
GPG Key ID: A01CB41737CBB478

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

Loading…
Cancel
Save