File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 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> {
118118 }
119119
120120 showCode (context) async {
121- if (Store .value <ConfigModel >(context).isPro) {
121+ /* if (Store.value<ConfigModel>(context).isPro) {
122122 // 线上文档
123123 FluroRouter.router.navigateTo(
124124 context,
125125 'webview?title=${widget.title}&url=${Uri.encodeComponent(Store.value<ConfigModel>(context).env.githubAssetOrigin+widget.mdUrl)}'
126126 );
127- } else {
127+ } else {*/
128128 // 加载本地
129129 String mdStr = await AssetUtils .readLocaleFile (widget.mdUrl);
130130 Navigator .of (context).push (
@@ -137,7 +137,7 @@ class IndexState extends State<Index> {
137137 );
138138 })
139139 );
140- }
140+ // }
141141 }
142142
143143 Future getMdFile (url) async {
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ class _IndexState extends State<Index> {
108108 )
109109 ],
110110 ),
111- Divider (
111+ /* Divider(
112112 color: Color(AppTheme.lineColor),
113113 ),
114114 ListTile(
@@ -119,7 +119,7 @@ class _IndexState extends State<Index> {
119119 title: Text(Store.value<ConfigModel>(context).isPro
120120 ? AppLocalizations.$t('common_mine_1.doc_online')
121121 : AppLocalizations.$t('common_mine_1.doc_offline')),
122- ),
122+ ),*/
123123 Divider (
124124 color: Color (AppTheme .lineColor),
125125 ),
You can’t perform that action at this time.
0 commit comments