feat: update app workflows and permissions

This commit is contained in:
2026-07-09 17:34:00 +08:00
parent 43e6133c21
commit 8e356973bd
44 changed files with 2944 additions and 307 deletions

View File

@ -185,9 +185,12 @@ final class CooperationAcquirerViewModel {
private func startCommissionSmsTimer() {
commissionSmsTimerTask?.cancel()
commissionSmsCountdown = 60
notifyStateChange()
commissionSmsTimerTask = Task { [weak self] in
guard let self else { return }
for second in stride(from: 60, through: 1, by: -1) {
try? await Task.sleep(nanoseconds: 1_000_000_000)
for second in stride(from: 59, through: 1, by: -1) {
if Task.isCancelled { return }
commissionSmsCountdown = second
notifyStateChange()