Allow locked iPhone Git actions (#51)

This commit is contained in:
2026-08-14 17:53:48 +02:00
parent 65eb1da71c
commit cc2c30b0ef
5 changed files with 49 additions and 27 deletions

View File

@@ -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