Skip to content

Commit

Permalink
v0.2.13+42
Browse files Browse the repository at this point in the history
  • Loading branch information
cabbagelol committed Dec 25, 2024
1 parent 161e0dd commit f3c364d
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
4 changes: 2 additions & 2 deletions lib/pages/index/home_community_activitie.dart
Original file line number Diff line number Diff line change
Expand Up @@ -481,9 +481,9 @@ class WidgetStateText extends StatelessWidget {
final Util _util = Util();

WidgetStateText({
Key? key,
super.key,
this.itemData,
}) : super(key: key);
});

@override
Widget build(BuildContext context) {
Expand Down
2 changes: 1 addition & 1 deletion lib/pages/index/home_footer_bar_panel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import 'package:flutter_html/flutter_html.dart';
import 'package:flutter_i18n/flutter_i18n.dart';
import 'package:provider/provider.dart';

import '../../component/_refresh/index.dart';
import '/component/_refresh/index.dart';
import '/widgets/drawer.dart';
import '/data/index.dart';
import '/constants/api.dart';
Expand Down
6 changes: 3 additions & 3 deletions lib/pages/index/index.dart
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ class IndexPageState extends State<IndexPage> with WidgetsBindingObserver {
/// 用户令牌失效触发器
void _onUserTokenExpired() {
eventUtil.on('user-token-expired', (arg) {
UserInfoProvider().accountQuit(context);
_providerUtil.ofUser(context).accountQuit(context);
});
}

Expand All @@ -179,7 +179,7 @@ class IndexPageState extends State<IndexPage> with WidgetsBindingObserver {
eventUtil.on("not-network", (arg) {
if (!mounted) return;
Future.delayed(const Duration(seconds: 1), () {
_urlUtil.opEnPage2("/notnetwork");
_urlUtil.opEnPage(context, "/notnetwork");
});
});
}
Expand All @@ -196,7 +196,7 @@ class IndexPageState extends State<IndexPage> with WidgetsBindingObserver {
dynamic _openMessage() {
return () {
// 检查登录状态
if (!ProviderUtil().ofUser(context).checkLogin()) return;
if (!_providerUtil.ofUser(context).checkLogin()) return;

_urlUtil.opEnPage(context, "/chat/list");
};
Expand Down
1 change: 1 addition & 0 deletions lib/pages/index/players.dart
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ class PlayerListPageState extends State<PlayerListPage> with SingleTickerProvide
controller: _tabController,
isScrollable: true,
tabAlignment: TabAlignment.start,
padding: EdgeInsets.only(right: 45),
automaticIndicatorColorAdjustment: false,
onTap: (index) => _onSwitchTab(index),
tabs: cheaterStatus!.map((i) {
Expand Down
10 changes: 5 additions & 5 deletions script/version.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"1": {
"number": 51,
"number": 52,
"buildTime": 0
},
"2": {
"number": 51,
"buildTime": 1734965499
"number": 52,
"buildTime": 1735131636
},
"3": {
"number": 51,
"buildTime": 1734965544
"number": 53,
"buildTime": 1735131834
},
"inherit": true
}

0 comments on commit f3c364d

Please sign in to comment.