mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-24 10:08:41 +00:00
@@ -8,6 +8,7 @@ import 'package:PiliPlus/common/widgets/image/custom_grid_view.dart'
|
||||
import 'package:PiliPlus/common/widgets/pendant_avatar.dart';
|
||||
import 'package:PiliPlus/grpc/reply.dart';
|
||||
import 'package:PiliPlus/http/fav.dart';
|
||||
import 'package:PiliPlus/http/loading_state.dart';
|
||||
import 'package:PiliPlus/models/common/audio_normalization.dart';
|
||||
import 'package:PiliPlus/models/common/dynamic/dynamics_type.dart';
|
||||
import 'package:PiliPlus/models/common/member/tab_type.dart';
|
||||
@@ -792,8 +793,8 @@ List<SettingsModel> get extraSettings => [
|
||||
onTap: (context) async {
|
||||
if (Accounts.main.isLogin) {
|
||||
final res = await FavHttp.allFavFolders(Accounts.main.mid);
|
||||
if (res.isSuccess) {
|
||||
final list = res.data.list;
|
||||
if (res case Success(:final response)) {
|
||||
final list = response.list;
|
||||
if (list == null || list.isEmpty) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -225,12 +225,14 @@ List<SettingsModel> get styleSettings => [
|
||||
leading: Icon(Icons.people_alt_outlined),
|
||||
setKey: SettingBoxKey.dynamicsShowAllFollowedUp,
|
||||
defaultVal: false,
|
||||
needReboot: true,
|
||||
),
|
||||
const SwitchModel(
|
||||
title: '动态页展开正在直播UP列表',
|
||||
leading: Icon(Icons.live_tv),
|
||||
setKey: SettingBoxKey.expandDynLivePanel,
|
||||
defaultVal: false,
|
||||
needReboot: true,
|
||||
),
|
||||
NormalModel(
|
||||
onTap: (context, setState) async {
|
||||
|
||||
Reference in New Issue
Block a user