Merge branch 'sultan' into 'diplomatic-quarter-live'

Sultan

See merge request Cloud_Solution/diplomatic-quarter!173
dq_and_master
Mohammad Aljammal 4 years ago
commit 6fd405e9eb

@ -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,
);

@ -60,7 +60,7 @@ class _AppDrawerState extends State<AppDrawer> {
padding: EdgeInsets.zero,
children: <Widget>[
Container(
height: SizeConfig.screenHeight * .25,
height: SizeConfig.screenHeight * .27,
padding: EdgeInsets.all(15),
child: InkWell(
child: Column(

Loading…
Cancel
Save