Add invisible hex view in color picker

This commit is contained in:
Moez Bhatti
2018-03-29 06:00:44 -04:00
parent e6a0002d82
commit 3519583893
3 changed files with 59 additions and 0 deletions
@@ -89,6 +89,8 @@ class ThemePickerActivity : QkThemedActivity<ThemePickerViewModel>(), ThemePicke
themeAdapter.threadId = state.threadId
hex.setText(Integer.toHexString(state.newColor).takeLast(6))
applyGroup.setVisible(state.applyThemeVisible)
apply.setBackgroundTint(state.newColor)
apply.setTextColor(state.newTextColor)