[iOS] fix mobile internet "Today" permission

This commit is contained in:
Aleksey Belouosv 2019-12-17 12:29:08 +03:00 committed by Arsentiy Milchakov
parent 63cf218cde
commit 3c3e1e685e

View file

@ -57,10 +57,8 @@
case MWMNetworkPolicyPermissionToday:
if (self.isTempPermissionValid) {
onlineCall(YES);
} else if (askPermission) {
[self askPermissionWithCompletion:onlineCall];
} else {
onlineCall(NO);
[self askPermissionWithCompletion:onlineCall];
}
break;
case MWMNetworkPolicyPermissionNotToday: