chadtmiller.com/knotless
git that lives in your Atmosphere account
1
10
The iOS app's next TestFlight build is 4, and its delete stops if nothing goes
ios/Knotless/Views/Moderation.swift+2−0
| @@ -334,6 +334,8 @@ struct DeleteDataSheet: View { | ||
let step = try await Client.shared.deleteStep(Writes.deleteData(did: did, limit: Self.part)) | ||
deleted += step.deleted | ||
if step.done { break } | ||
// Asking again can't help a server that deleted nothing and isn't done. | ||
if step.deleted == 0 { throw APIError(status: 0, name: nil, message: "Nothing more could be deleted.") } | ||
} | ||
account.forgotten() | ||
dismiss() | ||
ios/project.yml+1−1
| @@ -8,7 +8,7 @@ settings: | ||
base: | ||
SWIFT_VERSION: "6.0" | ||
MARKETING_VERSION: "0.1.0" | ||
CURRENT_PROJECT_VERSION: "3" | ||
CURRENT_PROJECT_VERSION: "4" | ||
TARGETED_DEVICE_FAMILY: "1,2" | ||
GENERATE_INFOPLIST_FILE: YES | ||
INFOPLIST_KEY_CFBundleDisplayName: Knotless | ||