mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
Add TODO notes for PR #122 notes
what to do with patreon table view and url Signed-off-by: Joseph Mattello <mail@joemattiello.com>
This commit is contained in:
@@ -69,6 +69,7 @@ class PatreonViewController: UICollectionViewController
|
|||||||
var itemWidth = (self.collectionView.bounds.width - (layout.sectionInset.left + layout.sectionInset.right + layout.minimumInteritemSpacing)) / 2
|
var itemWidth = (self.collectionView.bounds.width - (layout.sectionInset.left + layout.sectionInset.right + layout.minimumInteritemSpacing)) / 2
|
||||||
itemWidth.round(.down)
|
itemWidth.round(.down)
|
||||||
|
|
||||||
|
// TODO: if the intention here is to hide the cells, we should just modify the data source. @JoeMatt
|
||||||
layout.itemSize = CGSize(width: 0, height: 0)
|
layout.itemSize = CGSize(width: 0, height: 0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -128,7 +129,7 @@ private extension PatreonViewController
|
|||||||
You’re the best. Your account was linked successfully, so you now have access to the beta versions of all of our apps. You can find them all in the Browse tab.
|
You’re the best. Your account was linked successfully, so you now have access to the beta versions of all of our apps. You can find them all in the Browse tab.
|
||||||
|
|
||||||
Thanks for all of your support. Enjoy!
|
Thanks for all of your support. Enjoy!
|
||||||
Riley & Shane
|
- SideTeam
|
||||||
""", comment: "")
|
""", comment: "")
|
||||||
|
|
||||||
if let account = DatabaseManager.shared.patreonAccount(), PatreonAPI.shared.isAuthenticated
|
if let account = DatabaseManager.shared.patreonAccount(), PatreonAPI.shared.isAuthenticated
|
||||||
@@ -172,6 +173,7 @@ private extension PatreonViewController
|
|||||||
|
|
||||||
@objc func openPatreonURL(_ sender: UIButton)
|
@objc func openPatreonURL(_ sender: UIButton)
|
||||||
{
|
{
|
||||||
|
// TODO: Is this the final URL? @JoeMatt
|
||||||
let patreonURL = URL(string: "https://www.patreon.com/JitStreamer")!
|
let patreonURL = URL(string: "https://www.patreon.com/JitStreamer")!
|
||||||
|
|
||||||
let safariViewController = SFSafariViewController(url: patreonURL)
|
let safariViewController = SFSafariViewController(url: patreonURL)
|
||||||
|
|||||||
Reference in New Issue
Block a user