Compare commits
2 Commits
18f6445a7c
...
b85c0eb95d
Author | SHA1 | Date |
---|---|---|
Shadowfacts | b85c0eb95d | |
Shadowfacts | eea0ef258c |
|
@ -1,5 +1,8 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2024.3 (132)
|
||||||
|
- Add ToS nag before signing in
|
||||||
|
|
||||||
## 2024.3 (131)
|
## 2024.3 (131)
|
||||||
Bugfixes:
|
Bugfixes:
|
||||||
- Fix Cmd+3 not correctly switching to Explore tab
|
- Fix Cmd+3 not correctly switching to Explore tab
|
||||||
|
|
|
@ -245,10 +245,17 @@ extension OnboardingViewController {
|
||||||
|
|
||||||
extension OnboardingViewController: InstanceSelectorTableViewControllerDelegate {
|
extension OnboardingViewController: InstanceSelectorTableViewControllerDelegate {
|
||||||
func didSelectInstance(url instanceURL: URL) {
|
func didSelectInstance(url instanceURL: URL) {
|
||||||
|
let alert = UIAlertController(title: "Terms of Service", message: "By logging in to '\(instanceURL.host!)', you agree to follow all applicable rules and terms of service for that instance.", preferredStyle: .alert)
|
||||||
|
alert.addAction(UIAlertAction(title: "Cancel", style: .cancel, handler: { [unowned self] _ in
|
||||||
|
self.instanceSelector.tableView.selectRow(at: nil, animated: false, scrollPosition: .none)
|
||||||
|
}))
|
||||||
|
alert.addAction(UIAlertAction(title: "Continue", style: .default, handler: { [unowned self] _ in
|
||||||
Task {
|
Task {
|
||||||
await self.login(to: instanceURL)
|
await self.login(to: instanceURL)
|
||||||
instanceSelector.tableView.selectRow(at: nil, animated: true, scrollPosition: .none)
|
self.instanceSelector.tableView.selectRow(at: nil, animated: true, scrollPosition: .none)
|
||||||
}
|
}
|
||||||
|
}))
|
||||||
|
present(alert, animated: true)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
// https://help.apple.com/xcode/#/dev745c5c974
|
// https://help.apple.com/xcode/#/dev745c5c974
|
||||||
|
|
||||||
MARKETING_VERSION = 2024.3
|
MARKETING_VERSION = 2024.3
|
||||||
CURRENT_PROJECT_VERSION = 131
|
CURRENT_PROJECT_VERSION = 132
|
||||||
CURRENT_PROJECT_VERSION = $(inherited)$(CURRENT_PROJECT_VERSION_BUILD_SUFFIX_$(CONFIGURATION))
|
CURRENT_PROJECT_VERSION = $(inherited)$(CURRENT_PROJECT_VERSION_BUILD_SUFFIX_$(CONFIGURATION))
|
||||||
|
|
||||||
CURRENT_PROJECT_VERSION_BUILD_SUFFIX_Debug=-dev
|
CURRENT_PROJECT_VERSION_BUILD_SUFFIX_Debug=-dev
|
||||||
|
|
Loading…
Reference in New Issue