]> git.ktnx.net Git - mobile-ledger.git/commit
fix profile deletion / data wipe
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 18 Apr 2021 11:49:53 +0000 (14:49 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 18 Apr 2021 11:49:53 +0000 (14:49 +0300)
commit349a5a3aca6dab475eada68d99d59d0dff9378b3
treebc67ae0cc909203fd3924a9d372531f4a98160ee
parent55555f564f5f60dfd6fe702ff61e9621ff3d62a0
fix profile deletion / data wipe

do not keep a reference to the profile being edited, instead query it
by the ID now stored in the model

one thing doesn't work yet - reaction to deletion of the current profile
app/src/main/java/net/ktnx/mobileledger/db/Profile.java
app/src/main/java/net/ktnx/mobileledger/ui/profiles/ProfileDetailFragment.java
app/src/main/java/net/ktnx/mobileledger/ui/profiles/ProfileDetailModel.java