设置 App 图标与启动页,并修复记分详情回显与环值分布溢出。
同步恢复试用次数校验,免费额度调整为 2 次,便于验证 IAP 流程。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -11,8 +11,10 @@ final pointRecordsProvider =
|
||||
);
|
||||
|
||||
/// Loads a single record by id (used by the edit/view page).
|
||||
/// Watches [pointRecordsProvider] so upsert/complete invalidates the cache.
|
||||
final recordByIdProvider =
|
||||
FutureProvider.family<PointRecord?, int>((ref, id) async {
|
||||
ref.watch(pointRecordsProvider);
|
||||
final isar = await ref.watch(isarProvider.future);
|
||||
return isar.pointRecords.get(id);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user