Skip to content
Snippets Groups Projects
Verified Commit 4a8875f4 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame :jack_o_lantern:
Browse files

fixup! Enable the connect assist experiments on alpha

Bug 42479: Improve TorConnect error handling

Updated the prototype of onBootstrapError.
parent 7e46e5e3
Branches
Tags
1 merge request!78Bug 42479: Improve TorConnect error handling
......@@ -1383,12 +1383,12 @@ open class HomeActivity : LocaleAwareAppCompatActivity(), NavHostActivity, TorIn
}
override fun onBootstrapStateChange(state: String) = Unit
override fun onBootstrapProgress(progress: Double, status: String, hasWarnings: Boolean) = Unit
override fun onBootstrapProgress(progress: Double, hasWarnings: Boolean) = Unit
override fun onBootstrapComplete() {
components.useCases.tabsUseCases.removeAllTabs()
navHost.navController.navigate(NavGraphDirections.actionStartupHome())
}
override fun onBootstrapError(message: String, details: String) = Unit
override fun onBootstrapError(code: String?, message: String?, phase: String?, reason: String?) = Unit
override fun onSettingsRequested() {
navHost.navController.navigate(NavGraphDirections.actionGlobalSettingsFragment())
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment