fix: range date
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user