File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ jobs:
137137 - name : Create production config
138138 run : ' echo "$PRODUCTION_CONFIG" | base64 --decode > config/production.json'
139139 env :
140- PRODUCTION_CONFIG : ${{ secrets.PRODUCTION_CONFIG_JSON_BASE64 }}
140+ PRODUCTION_CONFIG : ${{ secrets.WEB_PRODUCTION_CONFIG_JSON_BASE64 }}
141141
142142 # 10. Build
143143 # ---------------- ANDROID APP BUNDLE + APK ---------------- #
Original file line number Diff line number Diff line change 1- import 'package:flutter/foundation.dart' ;
21import 'package:flutter/material.dart' ;
32import 'package:no_sleep/src/common/util/screen_util.dart' ;
43import 'package:no_sleep/src/feature/article/controller/article_controller.dart' ;
@@ -44,7 +43,8 @@ class ArticleConfigWidgetState extends State<ArticleConfigWidget> {
4443 void initState () {
4544 super .initState ();
4645 articleController = ArticleController (
47- articleRepository: kIsWeb || kIsWasm ? ArticleJSRepositoryImpl () : ArticleRepositoryImpl (),
46+ // articleRepository: kIsWeb || kIsWasm ? ArticleJSRepositoryImpl() : ArticleRepositoryImpl(),
47+ articleRepository: ArticleJSRepositoryImpl (),
4848 );
4949 articleController.article (widget.postId);
5050 }
Original file line number Diff line number Diff line change 1- import 'package:flutter/foundation.dart' ;
21import 'package:flutter/material.dart' ;
32import 'package:no_sleep/src/common/util/local_pagination_util.dart' ;
43import 'package:no_sleep/src/common/util/screen_util.dart' ;
@@ -44,9 +43,10 @@ class RedditConfigWidgetState extends State<RedditConfigWidget> {
4443 super .initState ();
4544 final dependencies = DependenciesScope .of (context);
4645 redditController = RedditController (
47- redditRepository: kIsWeb || kIsWasm
48- ? RedditJSRepositoryImpl (apiClient: dependencies.apiClient)
49- : RedditRepositoryImpl (apiClient: dependencies.apiClient),
46+ // redditRepository: kIsWeb || kIsWasm
47+ // ? RedditJSRepositoryImpl(apiClient: dependencies.apiClient)
48+ // : RedditRepositoryImpl(apiClient: dependencies.apiClient),
49+ redditRepository: RedditJSRepositoryImpl (apiClient: dependencies.apiClient),
5050 localPaginationUtil: LocalPaginationUtil (),
5151 );
5252 redditDataController = RedditDataController ();
You can’t perform that action at this time.
0 commit comments