mirror of
https://github.com/linagora/tmail-flutter.git
synced 2026-12-06 16:04:20 +00:00
deploy: 0970b9ad08fad318208cf0ae84909825501b4d9f
This commit is contained in:
1 parent
8a52403ded
commit
e724d331e8
2 files changed
+31
-48
No files matched your search
@@ -27,7 +27,7 @@ const RESOURCES = {"canvaskit/skwasm.worker.js": "bfb704a6c714a75da9ef320991e88b
|
||||
"index.html": "a587a94b070fbf5a7a0f50c651e3c15a",
|
||||
"/": "a587a94b070fbf5a7a0f50c651e3c15a",
|
||||
"favicon.svg": "6cfee8482999da091bc2e5cd304e745f",
|
||||
"main.dart.js": "7d0a66eb1b7d62f46d938d5816421ced",
|
||||
"main.dart.js": "90c9244105e7db0b0a66cc791c7b4c46",
|
||||
"main.dart.js_3.part.js": "3f5f0f1beb925d07956e7de8a5ef8879",
|
||||
"assets/AssetManifest.json": "fc0c9cadb5be6d88d3e7282eb965b630",
|
||||
"assets/configurations/app_dashboard.json": "4fd734881af71fbcd0d0c586e4679ca0",
|
||||
|
||||
+30
-47
@@ -93932,7 +93932,6 @@
|
||||
this.$this = t0;
|
||||
},
|
||||
NotificationPermissionService: function NotificationPermissionService() {
|
||||
this._notificationGroupId = "";
|
||||
},
|
||||
PermissionService: function PermissionService() {
|
||||
},
|
||||
@@ -370232,15 +370231,33 @@
|
||||
case 0:
|
||||
// Function start
|
||||
t1 = $async$self.$this._permissionService;
|
||||
t1._notificationGroupId = $async$self.userName.value;
|
||||
$async$goto = 3;
|
||||
return A._asyncAwait(t1.checkNotificationPermissionEnabled$0(), $async$call$0);
|
||||
$async$goto = A.defaultTargetPlatform() === B.TargetPlatform_2 ? 3 : 5;
|
||||
break;
|
||||
case 3:
|
||||
// then
|
||||
$async$goto = 6;
|
||||
return A._asyncAwait(t1.isGranted$1(B.Permission_17), $async$call$0);
|
||||
case 6:
|
||||
// returning from await.
|
||||
$async$returnValue = $async$result;
|
||||
// goto return
|
||||
$async$goto = 1;
|
||||
break;
|
||||
// goto join
|
||||
$async$goto = 4;
|
||||
break;
|
||||
case 5:
|
||||
// else
|
||||
$async$goto = 7;
|
||||
return A._asyncAwait(t1.checkGroupPermissionByGroupId$1($async$self.userName.value), $async$call$0);
|
||||
case 7:
|
||||
// returning from await.
|
||||
$async$returnValue = $async$result;
|
||||
// goto return
|
||||
$async$goto = 1;
|
||||
break;
|
||||
case 4:
|
||||
// join
|
||||
case 1:
|
||||
// return
|
||||
return A._asyncReturn($async$returnValue, $async$completer);
|
||||
@@ -395692,26 +395709,28 @@
|
||||
$signature: 0
|
||||
};
|
||||
A.NotificationPermissionService.prototype = {
|
||||
checkGroupPermission$0() {
|
||||
checkGroupPermissionByGroupId$1(groupId) {
|
||||
return this.checkGroupPermissionByGroupId$body$NotificationPermissionService(groupId);
|
||||
},
|
||||
checkGroupPermissionByGroupId$body$NotificationPermissionService(groupId) {
|
||||
var $async$goto = 0,
|
||||
$async$completer = A._makeAsyncAwaitCompleter(type$.bool),
|
||||
$async$returnValue, $async$self = this, invokeResult, t1;
|
||||
var $async$checkGroupPermission$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
|
||||
$async$returnValue, invokeResult;
|
||||
var $async$checkGroupPermissionByGroupId$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
|
||||
if ($async$errorCode === 1)
|
||||
return A._asyncRethrow($async$result, $async$completer);
|
||||
while (true)
|
||||
switch ($async$goto) {
|
||||
case 0:
|
||||
// Function start
|
||||
t1 = $async$self._notificationGroupId;
|
||||
if (t1.length === 0) {
|
||||
if (groupId.length === 0) {
|
||||
$async$returnValue = false;
|
||||
// goto return
|
||||
$async$goto = 1;
|
||||
break;
|
||||
}
|
||||
$async$goto = 3;
|
||||
return A._asyncAwait(B.MethodChannel_66y._invokeMethod$1$3$arguments$missingOk("getNotificationGroupPermission", t1, false, type$.bool), $async$checkGroupPermission$0);
|
||||
return A._asyncAwait(B.MethodChannel_66y._invokeMethod$1$3$arguments$missingOk("getNotificationGroupPermission", groupId, false, type$.bool), $async$checkGroupPermissionByGroupId$1);
|
||||
case 3:
|
||||
// returning from await.
|
||||
invokeResult = $async$result;
|
||||
@@ -395724,43 +395743,7 @@
|
||||
return A._asyncReturn($async$returnValue, $async$completer);
|
||||
}
|
||||
});
|
||||
return A._asyncStartSync($async$checkGroupPermission$0, $async$completer);
|
||||
},
|
||||
checkNotificationPermissionEnabled$0() {
|
||||
var $async$goto = 0,
|
||||
$async$completer = A._makeAsyncAwaitCompleter(type$.bool),
|
||||
$async$returnValue, $async$self = this;
|
||||
var $async$checkNotificationPermissionEnabled$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
|
||||
if ($async$errorCode === 1)
|
||||
return A._asyncRethrow($async$result, $async$completer);
|
||||
while (true)
|
||||
switch ($async$goto) {
|
||||
case 0:
|
||||
// Function start
|
||||
$async$goto = 3;
|
||||
return A._asyncAwait($async$self.isGranted$1(B.Permission_17), $async$checkNotificationPermissionEnabled$0);
|
||||
case 3:
|
||||
// returning from await.
|
||||
if (!$async$result) {
|
||||
$async$returnValue = false;
|
||||
// goto return
|
||||
$async$goto = 1;
|
||||
break;
|
||||
}
|
||||
$async$goto = 4;
|
||||
return A._asyncAwait($async$self.checkGroupPermission$0(), $async$checkNotificationPermissionEnabled$0);
|
||||
case 4:
|
||||
// returning from await.
|
||||
$async$returnValue = $async$result;
|
||||
// goto return
|
||||
$async$goto = 1;
|
||||
break;
|
||||
case 1:
|
||||
// return
|
||||
return A._asyncReturn($async$returnValue, $async$completer);
|
||||
}
|
||||
});
|
||||
return A._asyncStartSync($async$checkNotificationPermissionEnabled$0, $async$completer);
|
||||
return A._asyncStartSync($async$checkGroupPermissionByGroupId$1, $async$completer);
|
||||
}
|
||||
};
|
||||
A.PermissionService.prototype = {
|
||||
|
||||
Reference in new issue
Block a user