refactor: Use different client name on debug

This commit is contained in:
Christian Pauly 2021-06-20 12:44:09 +02:00
parent 9c4473f10b
commit 6ae7a0ce3a

View File

@ -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<String> getVersion() async {
var version = kIsWeb ? 'Web' : 'Unknown';