Skip to content
This repository has been archived by the owner on Jan 17, 2025. It is now read-only.

Commit

Permalink
mod: mine page
Browse files Browse the repository at this point in the history
Signed-off-by: bggRGjQaUbCoE <[email protected]>
  • Loading branch information
bggRGjQaUbCoE committed Jan 8, 2025
1 parent 0eac1b2 commit 4d35dfe
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 27 deletions.
1 change: 1 addition & 0 deletions lib/http/video.dart
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ class VideoHttp {
'bili-http-engine': 'cronet',
}),
);
Utils.showCopyTextDialog(jsonEncode(res.data));
if (res.data['code'] == 0) {
List<RecVideoItemAppModel> list = [];
List<int> blackMidsList = GStorage.blackMidsList;
Expand Down
40 changes: 13 additions & 27 deletions lib/pages/mine/view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -282,20 +282,13 @@ class _MinePageState extends State<MinePage> {
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
AnimatedSwitcher(
duration: const Duration(milliseconds: 400),
transitionBuilder:
(Widget child, Animation<double> animation) {
return ScaleTransition(scale: animation, child: child);
},
child: Text(
(_mineController.userStat.value.dynamicCount ?? '-')
.toString(),
key: ValueKey<String>(_mineController
.userStat.value.dynamicCount
.toString()),
style: style,
),
Text(
(_mineController.userStat.value.dynamicCount ?? '-')
.toString(),
key: ValueKey<String>(_mineController
.userStat.value.dynamicCount
.toString()),
style: style,
),
const SizedBox(height: 8),
Text(
Expand Down Expand Up @@ -333,19 +326,12 @@ class _MinePageState extends State<MinePage> {
mainAxisSize: MainAxisSize.min,
mainAxisAlignment: MainAxisAlignment.center,
children: [
AnimatedSwitcher(
duration: const Duration(milliseconds: 400),
transitionBuilder:
(Widget child, Animation<double> animation) {
return ScaleTransition(scale: animation, child: child);
},
child: Text(
(_mineController.userStat.value.follower ?? '-')
.toString(),
key: ValueKey<String>(
_mineController.userStat.value.follower.toString()),
style: style,
),
Text(
(_mineController.userStat.value.follower ?? '-')
.toString(),
key: ValueKey<String>(
_mineController.userStat.value.follower.toString()),
style: style,
),
const SizedBox(height: 8),
Text(
Expand Down

0 comments on commit 4d35dfe

Please sign in to comment.