|
@@ -190,7 +190,8 @@ class MainActivity : AppCompatActivity(),
|
|
|
}
|
|
|
FusionStatus.ConnectedWithoutInfo -> {
|
|
|
DFSToastUtil.fail(R.string.get_fuel_failed)
|
|
|
- fragmentRouter.push(FragmentReconnect.build {
|
|
|
+ fragmentRouter.popBottom()
|
|
|
+ fragmentRouter.replace(FragmentReconnect.build {
|
|
|
DFSToastUtil.success(R.string.get_fuel_success)
|
|
|
initFragmentEntry()
|
|
|
})
|
|
@@ -200,7 +201,8 @@ class MainActivity : AppCompatActivity(),
|
|
|
// 1. Network problem.
|
|
|
// 2. Communication exception and failed retry.
|
|
|
DFSToastUtil.fail(R.string.disconnect_fusion)
|
|
|
- fragmentRouter.push(FragmentReconnect.build {
|
|
|
+ fragmentRouter.popBottom()
|
|
|
+ fragmentRouter.replace(FragmentReconnect.build {
|
|
|
setFusionLinkingLoading()
|
|
|
})
|
|
|
}
|