]> git.ktnx.net Git - mobile-ledger.git/commit
do not force transaction list reload upon main activity start
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Fri, 23 Apr 2021 20:32:43 +0000 (23:32 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 25 Apr 2021 17:07:58 +0000 (17:07 +0000)
commit1796886d67b4d62c9fad1ea0980f38f53b8ce3b7
treeb09caea00d9d13956adfeab52877753d9d40d45a
parentb52d7713c3ae8bd0c8bfc192450ae0672d884aa1
do not force transaction list reload upon main activity start

instead, let the account filter observer trigger it (account filter live
data is initialized with a value)

this drops the reloading upon profile change, but profile changes
restart the activity anyway, as do theme changes

also, more precise reaction on account filter changes in the fragment --
no need to reload transactions there now that the main activity does it
app/src/main/java/net/ktnx/mobileledger/ui/MainModel.java
app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java
app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListFragment.java