Add mobile application #47

Merged
pierre merged 55 commits from mobile-app into main 2025-07-18 16:06:22 +00:00
2 changed files with 8 additions and 2 deletions
Showing only changes of commit 8db2cf3ece - Show all commits

View File

@@ -48,6 +48,12 @@ class _ExpensesList extends StatelessWidget {
@override
Widget build(BuildContext context) {
if (list.isEmpty) {
return const Center(
child: Text("There is no entry waiting for upload (yet)"),
);
}
return ListView.builder(
itemBuilder: (context, entryNum) {
final expense = list[entryNum];

View File

@@ -40,9 +40,9 @@ Future<void> _performSynchronization(Ref ref) async {
// Lastly delete the local expense
ref.watch(expensesProvider).requireValue.deleteExpense(exp);
}
ref.invalidate(expensesProvider);
}
}
class SynchronizeButton extends HookConsumerWidget {