@marcos_feitoza/personal-finance-frontend-feature-management 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.0.2](https://github.com/MarcosOps/personal-finance-frontend-feature-management/compare/v1.0.1...v1.0.2) (2026-01-29)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* new SnackBar ([2249b0b](https://github.com/MarcosOps/personal-finance-frontend-feature-management/commit/2249b0b80d8983dc6636d9de3192a0e744696ae0))
|
|
7
|
+
|
|
1
8
|
## [1.0.1](https://github.com/MarcosOps/personal-finance-frontend-feature-management/compare/v1.0.0...v1.0.1) (2025-12-06)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -3,6 +3,7 @@ import 'package:personal_finance_frontend_core_services/services/transaction_ser
|
|
|
3
3
|
import 'package:intl/intl.dart';
|
|
4
4
|
import 'package:personal_finance_frontend_core_services/models/payment_method.dart';
|
|
5
5
|
import 'package:personal_finance_frontend_core_ui/widgets/app_widgets.dart';
|
|
6
|
+
import 'package:personal_finance_frontend_core_ui/utils/app_snackbars.dart';
|
|
6
7
|
import 'package:provider/provider.dart';
|
|
7
8
|
import 'package:personal_finance_frontend_core_services/providers/auth_provider.dart';
|
|
8
9
|
|
|
@@ -120,17 +121,12 @@ class _ReconciliationScreenState extends State<ReconciliationScreen> {
|
|
|
120
121
|
|
|
121
122
|
Future<void> _reconcile() async {
|
|
122
123
|
if (_selectedIds.isEmpty) {
|
|
123
|
-
|
|
124
|
-
const SnackBar(
|
|
125
|
-
content: Text('Please select transactions to reconcile.')),
|
|
126
|
-
);
|
|
124
|
+
showInfoSnackBar(context, 'Please select transactions to reconcile.');
|
|
127
125
|
return;
|
|
128
126
|
}
|
|
129
127
|
|
|
130
128
|
if (_selectedPaymentMethod == null) {
|
|
131
|
-
|
|
132
|
-
const SnackBar(content: Text('Please select a payment method.')),
|
|
133
|
-
);
|
|
129
|
+
showInfoSnackBar(context, 'Please select a payment method.');
|
|
134
130
|
return;
|
|
135
131
|
}
|
|
136
132
|
|
|
@@ -142,15 +138,10 @@ class _ReconciliationScreenState extends State<ReconciliationScreen> {
|
|
|
142
138
|
);
|
|
143
139
|
|
|
144
140
|
if (newBalance != null) {
|
|
145
|
-
|
|
146
|
-
const SnackBar(content: Text('Reconciliation successful!')),
|
|
147
|
-
);
|
|
141
|
+
showSuccessSnackBar(context, 'Reconciliation successful!');
|
|
148
142
|
Navigator.of(context).pop(true); // Pop with a success result
|
|
149
143
|
} else {
|
|
150
|
-
|
|
151
|
-
const SnackBar(
|
|
152
|
-
content: Text('Reconciliation failed. Please try again.')),
|
|
153
|
-
);
|
|
144
|
+
showErrorSnackBar(context, 'Reconciliation failed. Please try again.');
|
|
154
145
|
}
|
|
155
146
|
}
|
|
156
147
|
|