Only attempt to use light system bars at appropriate API level

This commit is contained in:
Moez Bhatti
2018-04-03 16:30:47 -04:00
parent 8d0b8500c4
commit f64365f6eb
6 changed files with 107 additions and 48 deletions
@@ -73,7 +73,7 @@ abstract class QkThemedActivity<VM : QkViewModel<*, *>> : QkActivity<VM>() {
.autoDisposable(scope())
.subscribe { color -> window.statusBarColor = color }
colors.background
colors.navigationBar
.autoDisposable(scope())
.subscribe { color -> window.navigationBarColor = color }
}