fix: showing created entry after OCR
This commit is contained in:
parent
e5e803057a
commit
4a3f097b02
1 changed files with 5 additions and 3 deletions
|
@ -247,7 +247,9 @@ class _HomeViewState extends State<HomeView> {
|
||||||
.then((value) async {
|
.then((value) async {
|
||||||
wallets = await WalletManager.listWallets();
|
wallets = await WalletManager.listWallets();
|
||||||
selectedWallet = await WalletManager.loadWallet(
|
selectedWallet = await WalletManager.loadWallet(
|
||||||
selectedWallet!.name,);
|
selectedWallet!.name,
|
||||||
|
);
|
||||||
|
setState(() {});
|
||||||
});
|
});
|
||||||
} else if (value == AppLocalizations.of(context).about) {
|
} else if (value == AppLocalizations.of(context).about) {
|
||||||
showAbout(context);
|
showAbout(context);
|
||||||
|
@ -650,7 +652,7 @@ class _HomeViewState extends State<HomeView> {
|
||||||
await showAdaptiveDialog<void>(
|
await showAdaptiveDialog<void>(
|
||||||
context: context,
|
context: context,
|
||||||
builder: (c) => StatefulBuilder(
|
builder: (c) => StatefulBuilder(
|
||||||
builder: (ctx, setState) => AlertDialog.adaptive(
|
builder: (ctx, setDialogState) => AlertDialog.adaptive(
|
||||||
actions: [
|
actions: [
|
||||||
TextButton(
|
TextButton(
|
||||||
onPressed: () async {
|
onPressed: () async {
|
||||||
|
@ -764,7 +766,7 @@ class _HomeViewState extends State<HomeView> {
|
||||||
1 &&
|
1 &&
|
||||||
!value)) return;
|
!value)) return;
|
||||||
selectedLanguages[index] = value;
|
selectedLanguages[index] = value;
|
||||||
setState(() {});
|
setDialogState(() {});
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
const SizedBox(
|
const SizedBox(
|
||||||
|
|
Loading…
Reference in a new issue