Commit 49a31a96 authored by Filipe de Lima Brito's avatar Filipe de Lima Brito

Add Activity overridePendingTransition.

parent e25c7a05
...@@ -38,11 +38,13 @@ class AuthenticationNavigator(internal val activity: AuthenticationActivity, int ...@@ -38,11 +38,13 @@ class AuthenticationNavigator(internal val activity: AuthenticationActivity, int
fun toTermsOfService() { fun toTermsOfService() {
val webPageUrl = currentServer + "/terms-of-service" val webPageUrl = currentServer + "/terms-of-service"
activity.startActivity(context.webViewIntent(webPageUrl)) activity.startActivity(context.webViewIntent(webPageUrl))
activity.overridePendingTransition(R.anim.slide_up, R.anim.hold)
} }
fun toPrivacyPolicy() { fun toPrivacyPolicy() {
val webPageUrl = currentServer + "/privacy-policy" val webPageUrl = currentServer + "/privacy-policy"
activity.startActivity(context.webViewIntent(webPageUrl)) activity.startActivity(context.webViewIntent(webPageUrl))
activity.overridePendingTransition(R.anim.slide_up, R.anim.hold)
} }
fun toChatList() { fun toChatList() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment