updated to embedded payments
This commit is contained in:
@@ -86,8 +86,8 @@ class ConfirmController extends ChangeNotifier {
|
||||
if (context.mounted) {
|
||||
if(kIsWeb){
|
||||
// the one we use here depends on when mpgs embedded bug will be fixed
|
||||
// context.push('/gateway-web');
|
||||
context.push('/gateway-redirect');
|
||||
context.push('/gateway-web');
|
||||
// context.push('/gateway-redirect');
|
||||
}else {
|
||||
context.push('/gateway');
|
||||
}
|
||||
|
||||
@@ -346,7 +346,7 @@ class _HomeScreenState extends State<HomeScreen>
|
||||
Tween<Offset>(begin: Offset(0, -0.20), end: Offset.zero).animate(
|
||||
CurvedAnimation(
|
||||
parent: _controller,
|
||||
curve: Interval(0.40 * index.toDouble(), 1.0, curve: Curves.easeIn),
|
||||
curve: Interval(0.3 * index.toDouble(), 1.0, curve: Curves.easeIn),
|
||||
),
|
||||
);
|
||||
return Row(
|
||||
@@ -601,7 +601,7 @@ class _HomeScreenState extends State<HomeScreen>
|
||||
Tween<Offset>(begin: Offset(0, -0.20), end: Offset.zero).animate(
|
||||
CurvedAnimation(
|
||||
parent: _controller,
|
||||
curve: Interval(0.40 * index.toDouble(), 1.0, curve: Curves.easeIn),
|
||||
curve: Interval(0.30 * index.toDouble(), 1.0, curve: Curves.easeIn),
|
||||
),
|
||||
);
|
||||
return Column(
|
||||
|
||||
Reference in New Issue
Block a user