|
|
|
@ -33,8 +33,9 @@ import com.keylesspalace.tusky.di.Injectable |
|
|
|
|
import com.keylesspalace.tusky.entity.AccessToken |
|
|
|
|
import com.keylesspalace.tusky.entity.AppCredentials |
|
|
|
|
import com.keylesspalace.tusky.network.MastodonApi |
|
|
|
|
import com.keylesspalace.tusky.util.RickRoll |
|
|
|
|
import com.keylesspalace.tusky.util.ThemeUtils |
|
|
|
|
import com.keylesspalace.tusky.util.rickRoll |
|
|
|
|
import com.keylesspalace.tusky.util.shouldRickRoll |
|
|
|
|
import kotlinx.android.synthetic.main.activity_login.* |
|
|
|
|
import okhttp3.HttpUrl |
|
|
|
|
import retrofit2.Call |
|
|
|
@ -139,8 +140,8 @@ class LoginActivity : BaseActivity(), Injectable { |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (RickRoll.shouldRickRoll(this, domain)) { |
|
|
|
|
RickRoll.rickRoll(this) |
|
|
|
|
if (shouldRickRoll(this, domain)) { |
|
|
|
|
rickRoll(this) |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|