mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-18 02:42:34 +01:00
refactor: Use different client name on debug
This commit is contained in:
parent
9c4473f10b
commit
6ae7a0ce3a
@ -29,7 +29,7 @@ abstract class PlatformInfos {
|
|||||||
static bool get usesTouchscreen => !isMobile;
|
static bool get usesTouchscreen => !isMobile;
|
||||||
|
|
||||||
static String get clientName =>
|
static String get clientName =>
|
||||||
'${AppConfig.applicationName} ${isWeb ? 'web' : Platform.operatingSystem}';
|
'${AppConfig.applicationName} ${isWeb ? 'web' : Platform.operatingSystem}${kReleaseMode ? '' : 'Debug'}';
|
||||||
|
|
||||||
static Future<String> getVersion() async {
|
static Future<String> getVersion() async {
|
||||||
var version = kIsWeb ? 'Web' : 'Unknown';
|
var version = kIsWeb ? 'Web' : 'Unknown';
|
||||||
|
Loading…
Reference in New Issue
Block a user