From bdd927e7e3bda8a5abc8183a901df0085c086297 Mon Sep 17 00:00:00 2001 From: bggRGjQaUbCoE Date: Sun, 29 Dec 2024 14:21:48 +0800 Subject: [PATCH] opt: get dynamicDetailRatio Closes #66 Signed-off-by: bggRGjQaUbCoE --- lib/utils/storage.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/utils/storage.dart b/lib/utils/storage.dart index a3c365bc..e2f0e9ff 100644 --- a/lib/utils/storage.dart +++ b/lib/utils/storage.dart @@ -148,8 +148,8 @@ class GStorage { static bool get showArgueMsg => setting.get(SettingBoxKey.showArgueMsg, defaultValue: true); - static List get dynamicDetailRatio => - setting.get(SettingBoxKey.dynamicDetailRatio, defaultValue: [60.0, 40.0]); + static List get dynamicDetailRatio => List.from(setting + .get(SettingBoxKey.dynamicDetailRatio, defaultValue: [60.0, 40.0])); static List get blackMidsList => List.from(GStorage.localCache .get(LocalCacheKey.blackMidsList, defaultValue: []));