Project

General

Profile

Actions

Feature #1165

closed

Unify the code path for navigating history

Added by Soren Stoutner 3 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Next Release
Start date:
02/14/2024
Due date:
% Done:

0%

Estimated time:

Description

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:

onBackPressedCallback
onNavigationItemSelected
navigateHistory
pinnedErrorGoBack

In addition, onNavigationItemSelected has two separate sections under R.id.back and R.id.forward that process the same logic.

Actions

Also available in: Atom PDF