aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/LoginActivity.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-07-02 23:16:22 -0700
committerAllan Wang <me@allanwang.ca>2017-07-02 23:16:22 -0700
commitc03c7d2c6e1a631a27aedc88b620f557a99fde38 (patch)
tree287edec62f3ecde6bff9004220825899a0b4bbb5 /app/src/main/kotlin/com/pitchedapps/frost/LoginActivity.kt
parentee30d44c398057a5fa65a7e09563954ef8e3840b (diff)
downloadfrost-c03c7d2c6e1a631a27aedc88b620f557a99fde38.tar.gz
frost-c03c7d2c6e1a631a27aedc88b620f557a99fde38.tar.bz2
frost-c03c7d2c6e1a631a27aedc88b620f557a99fde38.zip
Clean up unnecessary nonnulls
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/LoginActivity.kt')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/LoginActivity.kt6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/LoginActivity.kt b/app/src/main/kotlin/com/pitchedapps/frost/LoginActivity.kt
index cd6c2255..da70714d 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/LoginActivity.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/LoginActivity.kt
@@ -46,10 +46,10 @@ class LoginActivity : BaseActivity() {
val textview: AppCompatTextView by bindView(R.id.textview)
val profile: ImageView by bindView(R.id.profile)
- val loginObservable = SingleSubject.create<CookieModel>()!!
+ val loginObservable = SingleSubject.create<CookieModel>()
val progressObservable = BehaviorSubject.create<Int>()!!
- val profileObservable = SingleSubject.create<Boolean>()!!
- val usernameObservable = SingleSubject.create<String>()!!
+ val profileObservable = SingleSubject.create<Boolean>()
+ val usernameObservable = SingleSubject.create<String>()
// Helper to set and enable swipeRefresh
var refresh: Boolean