home: make add speed fab consistent with shuffle

Was using color secondary prior since the code was derived from
MaterialFiles.
This commit is contained in:
Alexander Capehart 2024-01-01 14:35:21 -07:00
parent 574e129f34
commit 28ff2b416a
No known key found for this signature in database
GPG key ID: 37DBE3621FE9AD47

View file

@ -87,11 +87,11 @@ class ThemedSpeedDialView : SpeedDialView {
val context = context
mainFabClosedBackgroundColor =
context
.getAttrColorCompat(com.google.android.material.R.attr.colorSecondaryContainer)
.getAttrColorCompat(com.google.android.material.R.attr.colorPrimaryContainer)
.defaultColor
mainFabClosedIconColor =
context
.getAttrColorCompat(com.google.android.material.R.attr.colorOnSecondaryContainer)
.getAttrColorCompat(com.google.android.material.R.attr.colorOnPrimaryContainer)
.defaultColor
mainFabOpenedBackgroundColor =
context.getAttrColorCompat(androidx.appcompat.R.attr.colorPrimary).defaultColor