mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-18 03:48:52 +01:00
Move lambdas outside of parentheses
This commit is contained in:
@@ -108,7 +108,7 @@ abstract class QkThemedActivity : QkActivity() {
|
||||
super.onPostCreate(savedInstanceState)
|
||||
|
||||
// Update the colours of the menu items
|
||||
Observables.combineLatest(menu, theme, { menu, theme ->
|
||||
Observables.combineLatest(menu, theme) { menu, theme ->
|
||||
val text = resolveThemeColor(android.R.attr.textColorSecondary)
|
||||
(0 until menu.size())
|
||||
.map { position -> menu.getItem(position) }
|
||||
@@ -122,7 +122,7 @@ abstract class QkThemedActivity : QkActivity() {
|
||||
menuItem.icon = this
|
||||
}
|
||||
}
|
||||
}).autoDisposable(scope(Lifecycle.Event.ON_DESTROY)).subscribe()
|
||||
}.autoDisposable(scope(Lifecycle.Event.ON_DESTROY)).subscribe()
|
||||
}
|
||||
|
||||
open fun getColoredMenuItems(): List<Int> {
|
||||
|
||||
Reference in New Issue
Block a user