X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/c8e3b4b3ec338525a2bdd4e0e2632b659d21e940..0a6531c75c32d7ad0c5d7ba2e3a19b6c58743006:/UICaboodle/BrowserView.mm diff --git a/UICaboodle/BrowserView.mm b/UICaboodle/BrowserView.mm index 793fe5d0..7c123f97 100644 --- a/UICaboodle/BrowserView.mm +++ b/UICaboodle/BrowserView.mm @@ -1064,10 +1064,15 @@ static Class $UIWebBrowserView; return [customItem autorelease]; } +- (void) applyLoadingTitle { + [[self navigationItem] setTitle:UCLocalize("LOADING")]; +} + - (void) applyRightButton { if ([self isLoading]) { [[self navigationItem] setRightBarButtonItem:loadingitem_ animated:YES]; - [[self navigationItem] setTitle:UCLocalize("LOADING")]; + [[loadingitem_ view] addSubview:indicator_]; + [self applyLoadingTitle]; } else if (button_) { [[self navigationItem] setRightBarButtonItem:[self customButton] animated:YES]; } else {