Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7c94bc0f authored by Alex Kershaw's avatar Alex Kershaw
Browse files

Show breadcrumb on error state screens

Fixes a bug where the UI jumps when selecting a tab showing an error
state screen. Did not occur on the 'recents' root. The UI jumped because
the breadcrumb disappeared since there is no state on the stack.

We want to maintain this situation where there is no DocumentInfo
objects on the stack in this case, but we still want to show the
breadcrumb. In fact, we don't even use the DocumentInfo on the stack on
the first level of the breadcrumb anyway, so we can actually just update
the adapter to have 1 item in this case and it works.

Fixes: 151097996
Test: manual; this class has no tests currently
Change-Id: Iac06a3b4406367089540a84ee1df8bdf46b201c1
parent 9d57eb5a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment