From 33d3a78bcc5d6fde285736427b19a9e727c4cf8b Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 26 Apr 2025 13:00:37 +0300 Subject: [PATCH] patch for rustore api changes --- lib/app_page.dart | 4 ++-- lib/search_page.dart | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/app_page.dart b/lib/app_page.dart index 1697f70..5ef4190 100644 --- a/lib/app_page.dart +++ b/lib/app_page.dart @@ -116,11 +116,11 @@ class _AppPageState extends State { bottomText: "minSdkVersion", ), _InfoCard( - topText: _appInfo?["ageLegal"], + topText: _appInfo?["ageRestriction"]["category"] ?? "?", bottomText: "Возраст", ), _InfoCard( - topText: _appInfo?["category"], + topText: _appInfo?["categories"][0] ?? "?", bottomText: "Категория", ) ], diff --git a/lib/search_page.dart b/lib/search_page.dart index 87971ed..5f8795f 100644 --- a/lib/search_page.dart +++ b/lib/search_page.dart @@ -86,7 +86,7 @@ class _SearchPageState extends State { borderRadius: BorderRadius.circular(15), child: Image.network( width: 60, - appInfo["icon"] + appInfo["iconUrl"] ), ), const SizedBox(width: 15,),