mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 10:46:53 -04:00
Added restoreState in navgraph to restore the previous state
This commit is contained in:
parent
9321a8cb7d
commit
7e350e0975
@ -50,7 +50,8 @@
|
||||
android:id="@+id/action_navigation_reader_to_navigation_library"
|
||||
app:destination="@id/libraryFragment"
|
||||
app:popUpTo="@id/readerFragment"
|
||||
app:popUpToSaveState="true" />
|
||||
app:popUpToSaveState="true"
|
||||
app:restoreState="true" />
|
||||
|
||||
<action
|
||||
android:id="@+id/action_readerFragment_to_searchFragment"
|
||||
@ -75,7 +76,8 @@
|
||||
android:id="@+id/action_navigation_library_to_navigation_downloads"
|
||||
app:destination="@id/downloadsFragment"
|
||||
app:popUpTo="@id/libraryFragment"
|
||||
app:popUpToInclusive="true" />
|
||||
app:popUpToInclusive="true"
|
||||
app:restoreState="true" />
|
||||
<action
|
||||
android:id="@+id/action_libraryFragment_to_localFileTransferFragment"
|
||||
app:destination="@id/localFileTransferFragment" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user