TF-3181 Handle on click contact support

(cherry picked from commit 7a6a02f58f5194c7f8c8ad3c047a5b8938ba598e)
This commit is contained in:
dab246
2024-12-06 02:28:59 +07:00
committed by Dat H. Pham
parent 2da1e555bb
commit 360027d7a1
10 changed files with 176 additions and 6 deletions
@@ -0,0 +1,11 @@
import 'package:model/support/contact_support_capability.dart';
extension ContactSupportCapabilityExtension on ContactSupportCapability {
bool get isMailAddressSupported =>
supportMailAddress?.trim().isNotEmpty == true;
bool get isHttpLinkSupported =>
httpLink?.trim().isNotEmpty == true;
}
+1
View File
@@ -59,6 +59,7 @@ export 'extensions/properties_extension.dart';
export 'extensions/session_extension.dart';
export 'extensions/username_extension.dart';
export 'extensions/utc_date_extension.dart';
export 'extensions/contact_support_capability_extension.dart';
// Identity
export 'identity/identity_request_dto.dart';
export 'mailbox/expand_mode.dart';