mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-03 16:03:06 +00:00
Fix blank page after a sync interruption
This commit is contained in:
@@ -220,6 +220,10 @@ public class MainActivity extends BaseActivity {
|
|||||||
Bundle bundle = SyncUtil.getSyncBundle(true, true, true, true, true, true);
|
Bundle bundle = SyncUtil.getSyncBundle(true, true, true, true, true, true);
|
||||||
navController.navigate(R.id.action_loginFragment_to_syncFragment, bundle);
|
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) {
|
public void goFromSettingsToSync(Bundle bundle) {
|
||||||
|
|||||||
Reference in New Issue
Block a user