File tree Expand file tree Collapse file tree
presentation/src/main/java/org/cryptomator/presentation/presenter Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ class UnlockVaultPresenter @Inject constructor(
164164 Timber .tag(" VaultListPresenter" ).e(" Inconsistent hub config detected. Denying access to protect the user." )
165165 Toast .makeText(context(), R .string.error_hub_not_trustworthy, Toast .LENGTH_LONG ).show()
166166 finish()
167- } else if (configContainsAllowedHosts(unverifiedHubVaultConfig) && isHttpHost(unverifiedHubVaultConfig)) {
167+ } else if (configContainsAllowedHosts(unverifiedHubVaultConfig) && ! isHttpHost(unverifiedHubVaultConfig)) {
168168 allowedHubHosts(unverifiedHubVaultConfig, vault)
169169 } else if (isCryptomatorCloud(unverifiedHubVaultConfig) && ! isHttpHost(unverifiedHubVaultConfig)) {
170170 allowedHubHosts(unverifiedHubVaultConfig, vault)
You can’t perform that action at this time.
0 commit comments