Show a message when expenses list is empty
This commit is contained in:
@@ -40,9 +40,9 @@ Future<void> _performSynchronization(Ref ref) async {
|
||||
|
||||
// Lastly delete the local expense
|
||||
ref.watch(expensesProvider).requireValue.deleteExpense(exp);
|
||||
|
||||
ref.invalidate(expensesProvider);
|
||||
}
|
||||
|
||||
ref.invalidate(expensesProvider);
|
||||
}
|
||||
|
||||
class SynchronizeButton extends HookConsumerWidget {
|
||||
|
Reference in New Issue
Block a user