From 97f1905179f5f933bc548620e025e75a4d5983ab Mon Sep 17 00:00:00 2001 From: Minecon724 Date: Mon, 30 Sep 2024 19:10:36 +0200 Subject: [PATCH] update lost motivation :( --- .idea/other.xml | 66 +++ app/src/main/AndroidManifest.xml | 2 +- .../java/eu/m724/coincounter/MainActivity.kt | 2 + .../java/eu/m724/coincounter/MainViewModel.kt | 1 + .../java/eu/m724/coincounter/MyApplication.kt | 1 - .../eu/m724/coincounter/WalletActivity.kt | 399 ------------------ .../coincounter/data/dao/TransactionDao.kt | 8 +- .../eu/m724/coincounter/data/dao/WalletDao.kt | 8 +- .../m724/coincounter/wallet/WalletActivity.kt | 71 ++++ .../{ => wallet}/WalletRepository.kt | 8 +- .../{ => wallet}/WalletViewModel.kt | 21 +- .../wallet/compose/TransactionDialog.kt | 169 ++++++++ .../wallet/compose/TransactionList.kt | 73 ++++ .../wallet/compose/WalletActionsDialog.kt | 51 +++ .../wallet/compose/WalletActivityView.kt | 106 +++++ .../wallet/compose/WalletRenameDialog.kt | 82 ++++ .../main/res/drawable/baseline_error_24.xml | 5 + 17 files changed, 651 insertions(+), 422 deletions(-) delete mode 100644 app/src/main/java/eu/m724/coincounter/WalletActivity.kt create mode 100644 app/src/main/java/eu/m724/coincounter/wallet/WalletActivity.kt rename app/src/main/java/eu/m724/coincounter/{ => wallet}/WalletRepository.kt (80%) rename app/src/main/java/eu/m724/coincounter/{ => wallet}/WalletViewModel.kt (80%) create mode 100644 app/src/main/java/eu/m724/coincounter/wallet/compose/TransactionDialog.kt create mode 100644 app/src/main/java/eu/m724/coincounter/wallet/compose/TransactionList.kt create mode 100644 app/src/main/java/eu/m724/coincounter/wallet/compose/WalletActionsDialog.kt create mode 100644 app/src/main/java/eu/m724/coincounter/wallet/compose/WalletActivityView.kt create mode 100644 app/src/main/java/eu/m724/coincounter/wallet/compose/WalletRenameDialog.kt create mode 100644 app/src/main/res/drawable/baseline_error_24.xml diff --git a/.idea/other.xml b/.idea/other.xml index 4604c44..94c96f6 100644 --- a/.idea/other.xml +++ b/.idea/other.xml @@ -69,6 +69,28 @@