fix ios splash
This commit is contained in:
@@ -385,7 +385,7 @@ class _HomePageState extends State<HomePage> {
|
||||
backgroundColor: primaryColor,
|
||||
title: ClipRRect(
|
||||
child: Image.asset("assets/logo.jpg", height: 40),
|
||||
borderRadius: new BorderRadius.circular(35.0),
|
||||
borderRadius: new BorderRadius.circular(30.0),
|
||||
),
|
||||
actions: login
|
||||
? <Widget>[
|
||||
@@ -412,7 +412,7 @@ class _HomePageState extends State<HomePage> {
|
||||
icon: Icon(Icons.tune),
|
||||
),
|
||||
]
|
||||
: [
|
||||
: <Widget>[
|
||||
FlatButton(
|
||||
onPressed: () {
|
||||
Navigator.push(
|
||||
@@ -424,6 +424,17 @@ class _HomePageState extends State<HomePage> {
|
||||
// iconSize: 30,
|
||||
child: Text("Sign in",style: siginButtonStyle,),
|
||||
),
|
||||
IconButton(
|
||||
onPressed: () {
|
||||
Navigator.push(
|
||||
context,
|
||||
MaterialPageRoute(
|
||||
builder: (context) => SigninPage()),
|
||||
);
|
||||
},
|
||||
iconSize: 30,
|
||||
icon: Icon(MaterialCommunityIcons.login),
|
||||
)
|
||||
]),
|
||||
body: Container(
|
||||
decoration: BoxDecoration(
|
||||
|
||||
@@ -90,7 +90,7 @@ class _SplashScreenState extends State<SplashScreen> {
|
||||
this._loaded = mainModel.isLoaded;
|
||||
this._isSupport = true;
|
||||
this._isLogin = mainModel.isLogin();
|
||||
this._isAgree = mainModel.agreedTerm();
|
||||
// this._isAgree = mainModel.agreedTerm();
|
||||
this._hasEmail = mainModel.hasEmail();
|
||||
this._isOnline = mainModel.isOnline;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user