File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,7 @@ class _LoginPageState extends State<LoginPage> with LoginBLoC {
101101 .login_text,
102102 color: Theme .of (context).primaryColor,
103103 textColor: GSYColors .textWhite,
104+ fontSize: 16 ,
104105 onPress: loginIn,
105106 ),
106107 ),
@@ -113,6 +114,7 @@ class _LoginPageState extends State<LoginPage> with LoginBLoC {
113114 .oauth_text,
114115 color: Theme .of (context).primaryColor,
115116 textColor: GSYColors .textWhite,
117+ fontSize: 16 ,
116118 onPress: oauthLogin,
117119 ),
118120 ),
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ class WelcomePage extends StatefulWidget {
2828class _WelcomePageState extends State <WelcomePage > {
2929 bool hadInit = false ;
3030
31- String text = "Welcome " ;
31+ String text = "" ;
3232 double fontSize = 76 ;
3333
3434 @override
@@ -41,6 +41,12 @@ class _WelcomePageState extends State<WelcomePage> {
4141
4242 ///防止多次进入
4343 Store <GSYState > store = StoreProvider .of (context);
44+ new Future .delayed (const Duration (seconds: 0 ), () {
45+ setState (() {
46+ text = "Welcome" ;
47+ fontSize = 60 ;
48+ });
49+ });
4450 new Future .delayed (const Duration (seconds: 1 , milliseconds: 500 ), () {
4551 setState (() {
4652 text = "GSYGithubApp" ;
You can’t perform that action at this time.
0 commit comments