File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -118,13 +118,13 @@ class IndexState extends State<Index> {
118
118
}
119
119
120
120
showCode (context) async {
121
- if (Store .value <ConfigModel >(context).isPro) {
121
+ /* if (Store.value<ConfigModel>(context).isPro) {
122
122
// 线上文档
123
123
FluroRouter.router.navigateTo(
124
124
context,
125
125
'webview?title=${widget.title}&url=${Uri.encodeComponent(Store.value<ConfigModel>(context).env.githubAssetOrigin+widget.mdUrl)}'
126
126
);
127
- } else {
127
+ } else {*/
128
128
// 加载本地
129
129
String mdStr = await AssetUtils .readLocaleFile (widget.mdUrl);
130
130
Navigator .of (context).push (
@@ -137,7 +137,7 @@ class IndexState extends State<Index> {
137
137
);
138
138
})
139
139
);
140
- }
140
+ // }
141
141
}
142
142
143
143
Future getMdFile (url) async {
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ class _IndexState extends State<Index> {
108
108
)
109
109
],
110
110
),
111
- Divider (
111
+ /* Divider(
112
112
color: Color(AppTheme.lineColor),
113
113
),
114
114
ListTile(
@@ -119,7 +119,7 @@ class _IndexState extends State<Index> {
119
119
title: Text(Store.value<ConfigModel>(context).isPro
120
120
? AppLocalizations.$t('common_mine_1.doc_online')
121
121
: AppLocalizations.$t('common_mine_1.doc_offline')),
122
- ),
122
+ ),*/
123
123
Divider (
124
124
color: Color (AppTheme .lineColor),
125
125
),
You can’t perform that action at this time.
0 commit comments