mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-12 07:38:53 +03:30
Improve back button function in all screens
This commit is contained in:
@@ -34,7 +34,7 @@ class ResultBanner extends StatelessWidget {
|
||||
InkWell(
|
||||
customBorder: CircleBorder(),
|
||||
onTap: () {
|
||||
Navigator.of(context).popAndPushNamed(push);
|
||||
Navigator.of(context).pushNamed(push);
|
||||
},
|
||||
child: Container(
|
||||
padding: EdgeInsets.all(5),
|
||||
|
||||
@@ -41,7 +41,7 @@ class LabelFloatingButtons extends StatelessWidget {
|
||||
InkWell(
|
||||
customBorder: CircleBorder(),
|
||||
onTap: () {
|
||||
Navigator.of(context).pushReplacementNamed(Routes.labelAddScreen);
|
||||
Navigator.of(context).pushNamed(Routes.labelAddScreen);
|
||||
},
|
||||
child: Container(
|
||||
padding: EdgeInsets.all(5),
|
||||
|
||||
@@ -41,8 +41,7 @@ class TestResultFloatingButton extends StatelessWidget {
|
||||
InkWell(
|
||||
customBorder: CircleBorder(),
|
||||
onTap: () {
|
||||
Navigator.of(context)
|
||||
.pushReplacementNamed(Routes.testResultAddScreen);
|
||||
Navigator.of(context).pushNamed(Routes.testResultAddScreen);
|
||||
},
|
||||
child: Container(
|
||||
padding: EdgeInsets.all(_deviceBlockSize),
|
||||
|
||||
Reference in New Issue
Block a user