Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
Merculiar committed Oct 30, 2024
1 parent 36a4d5b commit cfc527a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,6 @@ class KycStatusScreen extends StatefulWidget {
}

class _KycStatusScreenState extends State<KycStatusScreen> {
@override
void initState() {
super.initState();
sl<KycSharingService>().subscribe();
}

@override
void dispose() {
sl<KycSharingService>().unsubscribe();
super.dispose();
}

@override
Widget build(BuildContext context) => ValueListenableBuilder<UserData?>(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ class XFlowOffRampOrderService implements Disposable {
);

await _db.into(_db.offRampOrderRows).insert(order);
_subscribe(order.id);

return order.id;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ class XFlowOnRampOrderService implements Disposable {
);

await _db.into(_db.onRampOrderRows).insert(order);
_subscribe(order.id);

return order.id;
}
Expand Down

0 comments on commit cfc527a

Please sign in to comment.