Skip to content

Commit

Permalink
Merge branch 'v1' of https://github.com/zbrateam/Zebra into v1
Browse files Browse the repository at this point in the history
  • Loading branch information
elihwyma committed Jun 16, 2023
2 parents 1889592 + 031b4f3 commit 9f5046f
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 7 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ...ssets/App Icons/alphastream-light.appiconset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Zebra/Assets.xcassets/Canister.imageset/Canister.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Zebra/Assets.xcassets/Home/Changelog.imageset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Zebra/Assets.xcassets/Home/Discord.imageset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Zebra/Assets.xcassets/Home/Stores.imageset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Zebra/Assets.xcassets/Home/Twitter.imageset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 1 addition & 7 deletions Zebra/Tabs/Changes/ZBChangesTableViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -377,13 +377,7 @@ - (NSInteger)collectionView:(nonnull UICollectionView *)collectionView numberOfI

- (void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath {
ZBNewsCollectionViewCell *cell = (ZBNewsCollectionViewCell *)[collectionView cellForItemAtIndexPath:indexPath];
if ([[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"apollo:"]]) {
// Change https:// to apollo:// and open that.
NSURL *url = [NSURL URLWithString:[@"apollo" stringByAppendingString:[cell.redditLink.absoluteString substringFromIndex:cell.redditLink.scheme.length]]];
[[UIApplication sharedApplication] openURL:url];
} else {
[ZBDevice openURL:cell.redditLink delegate:self];
}
[ZBDevice openURL:cell.redditLink delegate:self];
}

- (void)toggleNews {
Expand Down

0 comments on commit 9f5046f

Please sign in to comment.