File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,10 @@ class _ConfigurationsScreenState extends State<ConfigurationsScreen> {
56
56
Preferences .saveLogin (apis);
57
57
}
58
58
59
+ if (apis.length > 1 ) {
60
+ Navigator .pop (context);
61
+ }
62
+
59
63
Navigator .pushReplacement (
60
64
//Navigate to Home Screen
61
65
context,
@@ -121,6 +125,9 @@ class _ConfigurationsScreenState extends State<ConfigurationsScreen> {
121
125
passwordFocus.unfocus ();
122
126
},
123
127
child: Scaffold (
128
+ appBar: AppBar (
129
+ elevation: 0 ,
130
+ ),
124
131
body: SingleChildScrollView (
125
132
child: Column (
126
133
children: < Widget > [
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ class _MainScreenState extends State<MainScreen> {
128
128
leading: Icon (Icons .add),
129
129
title: Text ('Add another account' ),
130
130
onTap: () {
131
- Navigator .pushReplacement (
131
+ Navigator .push (
132
132
context,
133
133
MaterialPageRoute (
134
134
builder: (context) => ConfigurationsScreen (),
You can’t perform that action at this time.
0 commit comments