mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-25 19:55:52 +00:00
fix ordinal view crash
This commit is contained in:
parent
39eaa937fc
commit
c295ca9a6f
1 changed files with 2 additions and 3 deletions
|
@ -53,9 +53,6 @@ class _OrdinalsViewState extends ConsumerState<OrdinalsView> {
|
||||||
searchController = TextEditingController();
|
searchController = TextEditingController();
|
||||||
searchFocus = FocusNode();
|
searchFocus = FocusNode();
|
||||||
|
|
||||||
_manager = ref.watch(walletsChangeNotifierProvider
|
|
||||||
.select((value) => value.getManager(widget.walletId)));
|
|
||||||
|
|
||||||
super.initState();
|
super.initState();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -95,6 +92,8 @@ class _OrdinalsViewState extends ConsumerState<OrdinalsView> {
|
||||||
.topNavIconPrimary,
|
.topNavIconPrimary,
|
||||||
),
|
),
|
||||||
onPressed: () async {
|
onPressed: () async {
|
||||||
|
_manager = ref.watch(walletsChangeNotifierProvider
|
||||||
|
.select((value) => value.getManager(widget.walletId)));
|
||||||
(_manager.wallet as OrdinalsInterface).refreshInscriptions();
|
(_manager.wallet as OrdinalsInterface).refreshInscriptions();
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue