mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-12-25 09:10:53 +01:00
launching the ems site when tapping get in touch
This commit is contained in:
parent
89f182ac35
commit
1d92b4293b
@ -21,12 +21,14 @@ import android.view.LayoutInflater
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import android.view.inputmethod.EditorInfo
|
||||
import im.vector.app.R
|
||||
import im.vector.app.core.extensions.content
|
||||
import im.vector.app.core.extensions.editText
|
||||
import im.vector.app.core.extensions.realignPercentagesToParent
|
||||
import im.vector.app.core.extensions.toReducedUrl
|
||||
import im.vector.app.core.utils.ensureProtocol
|
||||
import im.vector.app.core.utils.ensureTrailingSlash
|
||||
import im.vector.app.core.utils.openUrlInExternalBrowser
|
||||
import im.vector.app.databinding.FragmentFtueServerSelectionCombinedBinding
|
||||
import im.vector.app.features.onboarding.OnboardingAction
|
||||
import im.vector.app.features.onboarding.OnboardingViewEvents
|
||||
@ -56,6 +58,8 @@ class FtueAuthCombinedServerSelectionFragment @Inject constructor() : AbstractFt
|
||||
false
|
||||
}
|
||||
|
||||
views.chooseServerGetInTouch.debouncedClicks { openUrlInExternalBrowser(requireContext(), getString(R.string.ftue_ems_url)) }
|
||||
|
||||
views.chooseServerSubmit.debouncedClicks {
|
||||
updateServerUrl()
|
||||
}
|
||||
|
@ -26,5 +26,6 @@
|
||||
<string name="ftue_auth_choose_server_ems_title">Want to host your own server?</string>
|
||||
<string name="ftue_auth_choose_server_ems_subtitle">Element Matrix Services (EMS) is a robust and reliable hosting service for fast, secure and real time communication. Find out how on element.io.ems</string>
|
||||
<string name="ftue_auth_choose_server_ems_cta">Get in touch</string>
|
||||
<string name="ftue_ems_url">https://element.io/ems</string>
|
||||
|
||||
</resources>
|
||||
|
Loading…
Reference in New Issue
Block a user