mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 17:43:32 +00:00
Fix blank page after a sync interruption
This commit is contained in:
parent
3503dc13d3
commit
c523751aa7
1 changed files with 4 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue