From eabd5b10aeec48709ef14eb1f3bab6671788e6e6 Mon Sep 17 00:00:00 2001 From: ggurdin Date: Wed, 4 Sep 2024 16:06:57 -0400 Subject: [PATCH] re-enable recording on web --- lib/utils/platform_infos.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/utils/platform_infos.dart b/lib/utils/platform_infos.dart index b01498c88..83d4c9e74 100644 --- a/lib/utils/platform_infos.dart +++ b/lib/utils/platform_infos.dart @@ -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'}';