From 3363c8175d25a804fa20a774ed163608e4939db8 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Sun, 20 Jun 2021 12:44:09 +0200 Subject: [PATCH] refactor: Use different client name on debug --- lib/utils/platform_infos.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/platform_infos.dart b/lib/utils/platform_infos.dart index 9b12f3230..ef01bbb74 100644 --- a/lib/utils/platform_infos.dart +++ b/lib/utils/platform_infos.dart @@ -29,7 +29,7 @@ abstract class PlatformInfos { static bool get usesTouchscreen => !isMobile; static String get clientName => - '${AppConfig.applicationName} ${isWeb ? 'web' : Platform.operatingSystem}'; + '${AppConfig.applicationName} ${isWeb ? 'web' : Platform.operatingSystem}${kReleaseMode ? '' : 'Debug'}'; static Future getVersion() async { var version = kIsWeb ? 'Web' : 'Unknown';