call setupProfile in onCreate, not in onResume
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Mon, 11 Mar 2019 18:32:07 +0000 (20:32 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 14 Mar 2019 20:54:57 +0000 (22:54 +0200)
commit831ffd898c61c728d860f908e1dec288ae4060a3
tree3be6adc949bc3a3526907c132a0f74186a50f2a0
parentae668e7470adf8eefb0fd2bb5905f9c6ebebfc36
call setupProfile in onCreate, not in onResume

onResume is also called when the app is brought to the front and there is no
need to refresh profile data at this time
app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java