Skip to content

Commit

Permalink
Closes mozilla-mobile#3248 Override Kotlin variables with getter
Browse files Browse the repository at this point in the history
  • Loading branch information
ekager committed Aug 30, 2018
1 parent 794fa20 commit 676bce1
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ class CustomTabActivity : MainActivity() {
SessionManager.getInstance().getCustomTabSessionByCustomTabIdOrThrow(customTabId)
}

override val isCustomTabMode: Boolean = true
override val isCustomTabMode: Boolean
get() = true

override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
Expand All @@ -43,5 +44,6 @@ class CustomTabActivity : MainActivity() {
}
}

override val currentSessionForActivity = customTabSession
override val currentSessionForActivity
get() = customTabSession
}

0 comments on commit 676bce1

Please sign in to comment.