dev #1

Merged
aefril merged 108 commits from dev into main 2026-05-15 05:52:26 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit fb2309ddb3 - Show all commits

View File

@ -108,7 +108,7 @@ class _FinancePageState extends State<FinancePage>
backgroundColor: AppColor.background,
body: BlocListener<ProfitLossLoaderBloc, ProfitLossLoaderState>(
listenWhen: (previous, current) =>
previous.dateFrom != current.dateFrom &&
previous.dateFrom != current.dateFrom ||
previous.dateTo != current.dateTo,
listener: (context, state) {
context.read<ProfitLossLoaderBloc>().add(

View File

@ -82,7 +82,7 @@ class _SalesPageState extends State<SalesPage> with TickerProviderStateMixin {
backgroundColor: AppColor.background,
body: BlocListener<SalesLoaderBloc, SalesLoaderState>(
listenWhen: (previous, current) =>
previous.dateFrom != current.dateFrom &&
previous.dateFrom != current.dateFrom ||
previous.dateTo != current.dateTo,
listener: (context, state) {
context.read<SalesLoaderBloc>().add(SalesLoaderEvent.fectched());