@@ -38,6 +38,7 @@ class _TransactionListItemState extends ConsumerState<TransactionListItem> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
transaction =
|
||||
// ignore: sdk_version_since
|
||||
ref.watch(transactionHistoryListProvider).elementAtOrNull(widget.index);
|
||||
if (transaction == null) return Container();
|
||||
final budgetCategories = ref.read(budgetCategoriesProvider);
|
||||
|
||||
@@ -265,6 +265,7 @@ class _NoteBottomSheetState extends ConsumerState<NoteBottomSheet> {
|
||||
type: SnackType.error);
|
||||
printRed(err);
|
||||
}
|
||||
// ignore: use_build_context_synchronously
|
||||
Navigator.pop(context);
|
||||
},
|
||||
text: 'Save',
|
||||
|
||||
Reference in New Issue
Block a user