Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove kotlin synthetic in sample #2682

Merged
merged 1 commit into from Nov 23, 2020
Merged

Conversation

mikepenz
Copy link
Owner

  • replace kotlin synthetic with viewbinding

@mikepenz mikepenz added the other label Nov 23, 2020
@@ -139,7 +147,7 @@ class CompactHeaderDrawerActivity : AppCompatActivity() {

override fun onCreateActionMode(mode: ActionMode, menu: Menu): Boolean {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
window.statusBarColor = getThemeColor(R.attr.colorPrimaryDark, getColor(R.color.colorPrimaryDark))
window.statusBarColor = getThemeColor(R.attr.colorPrimaryDark, ContextCompat.getColor(this@CompactHeaderDrawerActivity, R.color.colorPrimaryDark))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 UIUtilsKt.getThemeColor can only be called from within the same library group (groupId=com.mikepenz)

@mikepenz mikepenz merged commit 2147374 into develop Nov 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant