mod: mine page

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-08 20:12:56 +08:00
parent 0eac1b2c69
commit 4d35dfe2f0
2 changed files with 14 additions and 27 deletions

View File

@@ -133,6 +133,7 @@ class VideoHttp {
'bili-http-engine': 'cronet', 'bili-http-engine': 'cronet',
}), }),
); );
Utils.showCopyTextDialog(jsonEncode(res.data));
if (res.data['code'] == 0) { if (res.data['code'] == 0) {
List<RecVideoItemAppModel> list = []; List<RecVideoItemAppModel> list = [];
List<int> blackMidsList = GStorage.blackMidsList; List<int> blackMidsList = GStorage.blackMidsList;

View File

@@ -282,20 +282,13 @@ class _MinePageState extends State<MinePage> {
child: Column( child: Column(
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.center,
children: [ children: [
AnimatedSwitcher( Text(
duration: const Duration(milliseconds: 400), (_mineController.userStat.value.dynamicCount ?? '-')
transitionBuilder: .toString(),
(Widget child, Animation<double> animation) { key: ValueKey<String>(_mineController
return ScaleTransition(scale: animation, child: child); .userStat.value.dynamicCount
}, .toString()),
child: Text( style: style,
(_mineController.userStat.value.dynamicCount ?? '-')
.toString(),
key: ValueKey<String>(_mineController
.userStat.value.dynamicCount
.toString()),
style: style,
),
), ),
const SizedBox(height: 8), const SizedBox(height: 8),
Text( Text(
@@ -333,19 +326,12 @@ class _MinePageState extends State<MinePage> {
mainAxisSize: MainAxisSize.min, mainAxisSize: MainAxisSize.min,
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.center,
children: [ children: [
AnimatedSwitcher( Text(
duration: const Duration(milliseconds: 400), (_mineController.userStat.value.follower ?? '-')
transitionBuilder: .toString(),
(Widget child, Animation<double> animation) { key: ValueKey<String>(
return ScaleTransition(scale: animation, child: child); _mineController.userStat.value.follower.toString()),
}, style: style,
child: Text(
(_mineController.userStat.value.follower ?? '-')
.toString(),
key: ValueKey<String>(
_mineController.userStat.value.follower.toString()),
style: style,
),
), ),
const SizedBox(height: 8), const SizedBox(height: 8),
Text( Text(