re-enable recording on web

This commit is contained in:
ggurdin 2024-09-04 16:06:57 -04:00
parent 5089446aee
commit eabd5b10ae
No known key found for this signature in database
GPG key ID: A01CB41737CBB478

View file

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