|
|
|
|
@ -407,13 +407,11 @@ class _LandingPageState extends State<LandingPage> with WidgetsBindingObserver {
|
|
|
|
|
IconButton(
|
|
|
|
|
//iconSize: 70,
|
|
|
|
|
icon: Icon(
|
|
|
|
|
projectViewModel.isLogin && projectViewModel.user != null
|
|
|
|
|
? Icons.settings
|
|
|
|
|
: Icons.login,
|
|
|
|
|
projectViewModel.isLogin ? Icons.settings : Icons.login,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
),
|
|
|
|
|
onPressed: () {
|
|
|
|
|
if (projectViewModel.isLogin && projectViewModel.user != null)
|
|
|
|
|
if (projectViewModel.isLogin)
|
|
|
|
|
Navigator.of(context).pushNamed(
|
|
|
|
|
SETTINGS,
|
|
|
|
|
);
|
|
|
|
|
|