updated the look and feel of the home page

This commit is contained in:
2026-05-28 11:47:38 +02:00
parent 6fdd3183fb
commit 88aad6ec3e
12 changed files with 1225 additions and 735 deletions

View File

@@ -49,8 +49,13 @@ class _IntegrationScreenState extends State<IntegrationScreen> {
listenable: controller,
builder: (context, child) {
if (controller.model.status == 'SUCCESS') {
final transactionId = controller.model.transaction?['id'];
WidgetsBinding.instance.addPostFrameCallback((_) {
context.go('/receipt');
if (transactionId != null) {
context.go('/receipt/$transactionId');
} else {
context.go('/receipt');
}
});
}