Feature #1165
Updated by Soren Stoutner 9 months ago
Currently there are four separate code paths, each of which do slightly different things. These should be unified into one function.
The four code paths are:
<code>onBackPressedCallback</code>
<code>onNavigationItemSelected</code>
<code>navigateHistory</code>
<code>pinnedErrorGoBack</code>
In addition, <code>onNavigationItemSelected</code> has two separate sections under <code>R.id.back</code> and <code>R.id.forward</code> that process the same logic.