Skip to content

Commit

Permalink
prepare for FB/TW login
Browse files Browse the repository at this point in the history
  • Loading branch information
vdemay committed Aug 1, 2012
1 parent 4d16b53 commit 3b52d4e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Binary file modified ScoopItFramework/Classes/.DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions ScoopItFramework/Classes/UI/SIDialog.m
Expand Up @@ -369,7 +369,7 @@ - (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)
if ([[url absoluteString] hasPrefix:@"http://si.ok"]) {
[self dialogDidSucceed:url];
return NO;
} else if (navigationType == UIWebViewNavigationTypeLinkClicked) {
} /*else if (navigationType == UIWebViewNavigationTypeLinkClicked) {
if ([_delegate respondsToSelector:@selector(dialog:shouldOpenURLInExternalBrowser:)]) {
if (![_delegate dialog:self shouldOpenURLInExternalBrowser:url]) {
return NO;
Expand All @@ -378,7 +378,7 @@ - (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)
[[UIApplication sharedApplication] openURL:request.URL];
return NO;
}
}*/
return YES;
}

Expand Down
2 changes: 1 addition & 1 deletion ScoopItFramework/SIScoopIt.h
Expand Up @@ -26,7 +26,7 @@


#define BASE_URL @"http://www.scoop.it/"
//#define BASE_URL @"http://10.0.0.144:8888/"
//#define BASE_URL @"http://10.0.0.138:8888/"


typedef enum SIRequestType {
Expand Down
2 changes: 1 addition & 1 deletion ScoopItFramework/SIScoopIt.m
Expand Up @@ -196,7 +196,7 @@ - (void)dialog:(SIDialog*)dialog didFailWithError:(NSError*)error {
}

- (BOOL)dialog:(SIDialog*)dialog shouldOpenURLInExternalBrowser:(NSURL*)url {
return YES;
return NO;
}


Expand Down

0 comments on commit 3b52d4e

Please sign in to comment.