upgrade flutter
This commit is contained in:
@@ -111,7 +111,7 @@ class _InitialLanguageSelectionPageState
|
||||
child: CircleAvatar(
|
||||
radius: 20,
|
||||
backgroundImage: AssetImage(
|
||||
"icons/flags/png/gb.png",
|
||||
"icons/flags/png100px/gb.png",
|
||||
package: 'country_icons',
|
||||
),
|
||||
),
|
||||
@@ -120,7 +120,7 @@ class _InitialLanguageSelectionPageState
|
||||
child: CircleAvatar(
|
||||
radius: 20,
|
||||
backgroundImage: AssetImage(
|
||||
"icons/flags/png/mm.png",
|
||||
"icons/flags/png100px/mm.png",
|
||||
package: 'country_icons',
|
||||
),
|
||||
),
|
||||
@@ -192,7 +192,8 @@ class _InitialLanguageSelectionPageState
|
||||
bool isLogin = Provider.of<MainModel>(context, listen: false).isLogin();
|
||||
String page = isLogin ? "/home" : "/welcome";
|
||||
Navigator.of(context).pushReplacementNamed(page);
|
||||
} catch (e) {} finally {
|
||||
} catch (e) {
|
||||
} finally {
|
||||
setState(() {
|
||||
_isLoading = false;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user