Login screens: Show disclaimer dialog only in HomeActivity, now that RiotX supports registration

This commit is contained in:
Benoit Marty 2019-11-19 17:28:39 +01:00
parent c18c140ec9
commit 6d8e5b892e
1 changed files with 0 additions and 7 deletions

View File

@ -32,7 +32,6 @@ import im.vector.riotx.core.di.ScreenComponent
import im.vector.riotx.core.extensions.addFragment
import im.vector.riotx.core.extensions.addFragmentToBackstack
import im.vector.riotx.core.platform.VectorBaseActivity
import im.vector.riotx.features.disclaimer.showDisclaimerDialog
import im.vector.riotx.features.home.HomeActivity
import im.vector.riotx.features.login.terms.LoginTermsFragment
import im.vector.riotx.features.login.terms.LoginTermsFragmentArgument
@ -242,12 +241,6 @@ class LoginActivity : VectorBaseActivity() {
}
}
override fun onResume() {
super.onResume()
showDisclaimerDialog(this)
}
companion object {
private const val EXTRA_CONFIG = "EXTRA_CONFIG"