feat: 自定义列数

This commit is contained in:
guozhigq
2023-10-04 23:15:46 +08:00
parent d83b4bc59e
commit 692d596818
6 changed files with 70 additions and 45 deletions

View File

@ -20,7 +20,7 @@ class LiveController extends GetxController {
void onInit() {
super.onInit();
crossAxisCount.value =
setting.get(SettingBoxKey.enableSingleRow, defaultValue: false) ? 1 : 2;
setting.get(SettingBoxKey.customRows, defaultValue: 2);
}
// 获取推荐