Эх сурвалжийг харах

fix position AHKActionSheet

Marino Faggiana 7 жил өмнө
parent
commit
ac6d806409

+ 1 - 1
iOSClient/Favorites/CCFavorites.m

@@ -420,7 +420,7 @@
     
     metadata = [_dataSource objectAtIndex:indexPath.row];
     
-    AHKActionSheet *actionSheet = [[AHKActionSheet alloc] initWithView:self.view title:nil];
+    AHKActionSheet *actionSheet = [[AHKActionSheet alloc] initWithView:self.tabBarController.view title:nil];
     
     actionSheet.animationDuration = 0.2;
     

+ 1 - 1
iOSClient/Main/CCMain.m

@@ -4346,7 +4346,7 @@
     
     // ******************************************* AHKActionSheet *******************************************
     
-    AHKActionSheet *actionSheet = [[AHKActionSheet alloc] initWithView:self.view title:nil];
+    AHKActionSheet *actionSheet = [[AHKActionSheet alloc] initWithView:self.tabBarController.view title:nil];
     
     actionSheet.animationDuration = 0.2;