TF-2280 Fix mark as read mailbox when token expired on mobile
Signed-off-by: dab246 <tdvu@linagora.com> (cherry picked from commit caab5a896875168f2d98c249207eb3eb537c58ec)
This commit is contained in:
@@ -30,9 +30,9 @@ BuildContext? get currentContext => Get.context;
|
||||
|
||||
BuildContext? get currentOverlayContext => Get.overlayContext;
|
||||
|
||||
T? getBinding<T>() {
|
||||
if (Get.isRegistered<T>()) {
|
||||
return Get.find<T>();
|
||||
T? getBinding<T>({String? tag}) {
|
||||
if (Get.isRegistered<T>(tag: tag)) {
|
||||
return Get.find<T>(tag: tag);
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user