Procházet zdrojové kódy

iOS: Minor refactoring on VLCSettingsController

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Soomin Lee před 8 roky
rodič
revize
ccaf4eb350
1 změnil soubory, kde provedl 7 přidání a 6 odebrání
  1. 7 6
      Sources/VLCSettingsController.m

+ 7 - 6
Sources/VLCSettingsController.m

@@ -71,12 +71,6 @@
     }
 }
 
-- (void)settingsViewControllerDidEnd:(IASKAppSettingsViewController*)sender
-{
-    [[VLCSidebarController sharedInstance] toggleSidebar];
-}
-
-
 - (void)didChangePasscodeStatus:(BOOL)passcodeEnabled
 {
     [self filterCellsWithAnimation:YES];
@@ -89,6 +83,13 @@
     }
 }
 
+#pragma mark - IASKSettings delegate
+
+- (void)settingsViewControllerDidEnd:(IASKAppSettingsViewController*)sender
+{
+    [[VLCSidebarController sharedInstance] toggleSidebar];
+}
+
 #pragma mark - PAPasscode delegate
 
 - (void)PAPasscodeViewControllerDidCancel:(PAPasscodeViewController *)controller