]> git.ktnx.net Git - mobile-ledger.git/commit
avoid switching current profile when profiles are rearranged
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 24 Apr 2021 16:17:10 +0000 (16:17 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 25 Apr 2021 17:07:58 +0000 (17:07 +0000)
commitcf5745a939dd043b6b144c416fd4e8257b2cac66
tree0a3c7cae0443641448dcc1248bde6b1cced3fc20
parent68cd8ad9a58628674aec13a0d43fd89683728669
avoid switching current profile when profiles are rearranged

on rearrange the object instances change so the equality check needs to
be done on IDs, not object instances
app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java