]> git.ktnx.net Git - mobile-ledger.git/commit
make the "home" (back arrow) toolbar button in the profile detail activity behave...
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 14 May 2020 08:16:43 +0000 (11:16 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 14 May 2020 17:39:53 +0000 (17:39 +0000)
commita2299fe8eddcbf5577a1576f899ddc28c8df00d5
tree41c4e0b0c76751da508e4df0961e9f4a0a0bc4b5
parentf17529e3805ca9a0f9446a7f978c9fbc87253be9
make the "home" (back arrow) toolbar button in the profile detail activity behave like the back key

this already done for the new transaction activity and seems proper here too
without it, pressing back (on the "keyboard") finishes the activity returning
to the main activity without changing its state (e.g. the drawer is kept
open), while pressing the home arrow (usually at the top left) re-starts
the main activity, closing its drawer
app/src/main/java/net/ktnx/mobileledger/ui/activity/ProfileDetailActivity.java