]> git.ktnx.net Git - mobile-ledger.git/commit
fix hooking profile-specific auto-completion adapter
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 5 May 2019 18:44:03 +0000 (21:44 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 5 May 2019 18:44:03 +0000 (21:44 +0300)
commitaff298c5d65b279b40884cf8273bd4eeb054adaa
tree2023dc2aa0ba8e4139d3e04f250d27a20ad11726
parenta32a16adfb536c1729f2761e7287a7ca6636d4fd
fix hooking profile-specific auto-completion adapter

at this point the main profile may not have been loaded yet so don't give it
to the hooking routine, which would instead retrieve the profile when the
auto-completion is triggered, at which point Data.profile must be populated

the other user of these routines, the new transaction activity is also bound
to a profile (either the main one in Data.profile, or another -- if invoced
via app shortcut) so it may pass the profile as a parameter
app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListFragment.java
app/src/main/java/net/ktnx/mobileledger/utils/MLDB.java