设置 App 图标与启动页,并修复记分详情回显与环值分布溢出。
同步恢复试用次数校验,免费额度调整为 2 次,便于验证 IAP 流程。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -74,13 +74,13 @@ class PointBookHomeScreen extends ConsumerWidget {
|
||||
if (config == null) return;
|
||||
|
||||
// IAP / trial gate.
|
||||
// if (!config.canStartScoring) {
|
||||
// await showDialog<void>(
|
||||
// context: context,
|
||||
// builder: (_) => const IapUnlockDialog(),
|
||||
// );
|
||||
// return;
|
||||
// }
|
||||
if (!config.canStartScoring) {
|
||||
await showDialog<void>(
|
||||
context: context,
|
||||
builder: (_) => const IapUnlockDialog(),
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
// Draft check.
|
||||
final notifier = ref.read(pointRecordsProvider.notifier);
|
||||
|
||||
Reference in New Issue
Block a user