1
0
Fork 0

Make 'Redirect to Sync' home menu item go directly to the 'Reconnect to Sync' / error screen

master
David Walsh 2020-02-28 10:07:49 -06:00 committed by Jeff Boek
parent 0187669790
commit 5b7a800f98
2 changed files with 4 additions and 1 deletions

View File

@ -623,7 +623,7 @@ class HomeFragment : Fragment() {
hideOnboardingIfNeeded() hideOnboardingIfNeeded()
nav( nav(
R.id.homeFragment, R.id.homeFragment,
HomeFragmentDirections.actionGlobalTurnOnSync() HomeFragmentDirections.actionHomeFragmentToAccountProblemFragment()
) )
} }
} }

View File

@ -62,6 +62,9 @@
<action <action
android:id="@+id/action_homeFragment_to_turnOnSyncFragment" android:id="@+id/action_homeFragment_to_turnOnSyncFragment"
app:destination="@+id/turnOnSyncFragment" /> app:destination="@+id/turnOnSyncFragment" />
<action
android:id="@+id/action_homeFragment_to_accountProblemFragment"
app:destination="@id/accountProblemFragment" />
<action <action
android:id="@+id/action_homeFragment_to_searchFragment" android:id="@+id/action_homeFragment_to_searchFragment"
app:destination="@id/searchFragment" app:destination="@id/searchFragment"