]> git.ktnx.net Git - mobile-ledger.git/commitdiff
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)
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


No differences found