fix: showing created entry after OCR

This commit is contained in:
Matyáš Caras 2024-02-26 22:58:01 +01:00
parent e5e803057a
commit 4a3f097b02
Signed by untrusted user who does not match committer: hernik
GPG key ID: 2A3175F98820C5C6

View file

@ -247,7 +247,9 @@ class _HomeViewState extends State<HomeView> {
.then((value) async {
wallets = await WalletManager.listWallets();
selectedWallet = await WalletManager.loadWallet(
selectedWallet!.name,);
selectedWallet!.name,
);
setState(() {});
});
} else if (value == AppLocalizations.of(context).about) {
showAbout(context);
@ -650,7 +652,7 @@ class _HomeViewState extends State<HomeView> {
await showAdaptiveDialog<void>(
context: context,
builder: (c) => StatefulBuilder(
builder: (ctx, setState) => AlertDialog.adaptive(
builder: (ctx, setDialogState) => AlertDialog.adaptive(
actions: [
TextButton(
onPressed: () async {
@ -764,7 +766,7 @@ class _HomeViewState extends State<HomeView> {
1 &&
!value)) return;
selectedLanguages[index] = value;
setState(() {});
setDialogState(() {});
},
),
const SizedBox(