From dcad57a58080072af586be0edd0eea434cf476d9 Mon Sep 17 00:00:00 2001
From: Ariver <shanghai3168@gmail.com>
Date: Sun, 28 Jun 2026 03:23:19 +0800
Subject: [PATCH] Record App Store upload handoff for 8.1.6
---
src/Apptag/ProEntitlement.swift | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/Apptag/ProEntitlement.swift b/src/Apptag/ProEntitlement.swift
index e1c8c5e..4841e55 100644
--- a/src/Apptag/ProEntitlement.swift
+++ b/src/Apptag/ProEntitlement.swift
@@ -97,6 +97,10 @@
let theme: AppGridTheme
let startedAt: Date
let endsAt: Date
+
+ func remainingSeconds(at date: Date = Date()) -> Int {
+ max(0, Int(ceil(endsAt.timeIntervalSince(date))))
+ }
}
struct ProNoteQuotaStatus: Equatable {
--
Gitblit v1.9.3