Commit 05b4400f authored by Filipe de Lima Brito's avatar Filipe de Lima Brito

Update import and variable declaration.

parent c59f2ecf
......@@ -2,7 +2,7 @@ package chat.rocket.android.authentication.presentation
import android.content.Intent
import chat.rocket.android.R
import chat.rocket.android.app.MainActivity
import chat.rocket.android.chatrooms.ui.MainActivity
import chat.rocket.android.authentication.ui.AuthenticationActivity
import chat.rocket.android.authentication.login.ui.LoginFragment
import chat.rocket.android.authentication.signup.ui.SignupFragment
......@@ -34,10 +34,10 @@ class AuthenticationNavigator(internal val activity: AuthenticationActivity) {
}
fun toChatList() {
val chatRoom = Intent(activity, MainActivity::class.java).apply {
val chatList = Intent(activity, MainActivity::class.java).apply {
//TODO any parameter to pass
}
activity.startActivity(chatRoom)
activity.startActivity(chatList)
activity.finish()
}
}
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