Allow locked iPhone Git actions (#51)
This commit is contained in:
@@ -592,10 +592,6 @@ private final class ShellViewController: UITableViewController, MobileTabRoot {
|
||||
guard homePage == nil, homeTask == nil, !isHomeWorking else { return }
|
||||
homeGeneration += 1
|
||||
let current = homeGeneration
|
||||
guard let authentication else {
|
||||
showHomeFailure(.unavailable)
|
||||
return
|
||||
}
|
||||
let operation = mobileHomeOperation(authentication: authentication)
|
||||
homeOperation = operation
|
||||
isHomeWorking = true
|
||||
@@ -621,10 +617,6 @@ private final class ShellViewController: UITableViewController, MobileTabRoot {
|
||||
|
||||
private func runHome(_ request: HomeRequest) {
|
||||
guard page.state == .ready, shellTab == .home, !isHomeWorking else { return }
|
||||
guard let authentication else {
|
||||
showHomeFailure(.unavailable)
|
||||
return
|
||||
}
|
||||
cancelHomeWork()
|
||||
homeGeneration += 1
|
||||
let current = homeGeneration
|
||||
@@ -5421,12 +5413,6 @@ private struct HomeFailure: Error, Sendable {
|
||||
detail: "IronStorage could not load the storage-provided Home page."
|
||||
)
|
||||
|
||||
static let unavailable = HomeFailure(
|
||||
kind: .configuration,
|
||||
title: "Home Is Unavailable",
|
||||
detail: "Complete password-store setup before using Git actions."
|
||||
)
|
||||
|
||||
private init(kind: MobileHomeErrorKind, title: String, detail: String) {
|
||||
self.kind = kind
|
||||
self.title = title
|
||||
|
||||
Reference in New Issue
Block a user