Fix blank page after a sync interruption
This commit is contained in:
1 parent
3503dc13d3
commit
c523751aa7
1 file changed
+4
@@ -220,6 +220,10 @@ public class MainActivity extends BaseActivity {
|
||||
Bundle bundle = SyncUtil.getSyncBundle(true, true, true, true, true, true);
|
||||
navController.navigate(R.id.action_loginFragment_to_syncFragment, bundle);
|
||||
}
|
||||
else if (Objects.requireNonNull(navController.getCurrentDestination()).getId() == R.id.landingFragment) {
|
||||
Bundle bundle = SyncUtil.getSyncBundle(true, true, true, true, true, true);
|
||||
navController.navigate(R.id.action_landingFragment_to_syncFragment, bundle);
|
||||
}
|
||||
}
|
||||
|
||||
public void goFromSettingsToSync(Bundle bundle) {
|
||||
|
||||
Reference in new issue
Block a user