diff options
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r-- | MobileCydia.mm | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index 1acb5ea..a2936ef 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -8050,13 +8050,6 @@ static void HomeControllerReachabilityCallback(SCNetworkReachabilityRef reachabi [self reloadData]; } -- (void) viewWillAppear:(BOOL)animated { - [super viewWillAppear:animated]; - - if ([self filter] == @selector(isUnfilteredAndSelectedForBy:)) - [self useSearch]; -} - - (void) searchBarTextDidBeginEditing:(UISearchBar *)searchBar { [self setObject:[search_ text] forFilter:@selector(isUnfilteredAndSelectedForBy:)]; [self clearData]; @@ -8134,6 +8127,9 @@ static void HomeControllerReachabilityCallback(SCNetworkReachabilityRef reachabi [textField setEnablesReturnKeyAutomatically:NO]; [[self navigationItem] setTitleView:textField]; } + + if ([self isSummarized]) + [search_ becomeFirstResponder]; } - (void) reloadData { |