Add version number to appbar
This commit is contained in:
@@ -2,3 +2,4 @@ export 'confirmation_dialogs.dart';
|
||||
export 'custom_app_bar.dart';
|
||||
export 'profile_tile.dart';
|
||||
export 'qr_code_scanner_screen.dart';
|
||||
export 'runtime_details.dart';
|
||||
|
||||
@@ -32,6 +32,8 @@ class RuntimeDetails with _$RuntimeDetails {
|
||||
required String clashVersion,
|
||||
}) = _RuntimeDetails;
|
||||
|
||||
String get fullVersion => version + buildNumber;
|
||||
|
||||
factory RuntimeDetails.fromJson(Map<String, dynamic> json) =>
|
||||
_$RuntimeDetailsFromJson(json);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user