Kaynağa Gözat

fix position AHKActionSheet

Marino Faggiana 7 yıl önce
ebeveyn
işleme
ac6d806409
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 1 1
      iOSClient/Favorites/CCFavorites.m
  2. 1 1
      iOSClient/Main/CCMain.m

+ 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;