From 6d8e5b892e56d4c96da251e3ca323cdb1d25af08 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Tue, 19 Nov 2019 17:28:39 +0100 Subject: [PATCH] Login screens: Show disclaimer dialog only in HomeActivity, now that RiotX supports registration --- .../java/im/vector/riotx/features/login/LoginActivity.kt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/vector/src/main/java/im/vector/riotx/features/login/LoginActivity.kt b/vector/src/main/java/im/vector/riotx/features/login/LoginActivity.kt index 79d6eb874d..3c7148b802 100644 --- a/vector/src/main/java/im/vector/riotx/features/login/LoginActivity.kt +++ b/vector/src/main/java/im/vector/riotx/features/login/LoginActivity.kt @@ -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"