]> git.saurik.com Git - cydia.git/blobdiff - Preferences.mm
Undo previous decision.
[cydia.git] / Preferences.mm
index b7ccfff0916161326e3c910bf47f1140c61f29f7..f576193077bfd6563050377b791cb757998a193d 100644 (file)
     Database *database_;
     id delegate_;
     NSMutableArray *sources_;
-    UIAlertSheet *alert_;
+    UIActionSheet *alert_;
 }
 
 - (int) numberOfSectionsInSectionList:(UISectionList *)list;
     [table selectRow:-1 byExtendingSelection:NO withFade:YES];
 }
 
-- (void) alertSheet:(UIAlertSheet *)sheet buttonClicked:(int)button {
+- (void) alertSheet:(UIActionSheet *)sheet buttonClicked:(int)button {
     [alert_ dismiss];
     [alert_ release];
     alert_ = nil;
 - (void) navigationBar:(UINavigationBar *)navbar buttonClicked:(int)button {
     switch (button) {
         case 0:
-            alert_ = [[UIAlertSheet alloc]
+            alert_ = [[UIActionSheet alloc]
                 initWithTitle:@"Unimplemented"
                 buttons:[NSArray arrayWithObjects:@"Okay", nil]
                 defaultButtonIndex:0