mirror of
https://github.com/cmclark00/RetroMusicPlayer.git
synced 2025-05-19 08:35:20 +01:00
Code refactor
This commit is contained in:
parent
3489e3ba28
commit
d5d77afaaf
14 changed files with 40 additions and 99 deletions
|
@ -23,6 +23,7 @@ import android.widget.CheckBox
|
|||
import android.widget.SeekBar
|
||||
import androidx.annotation.AttrRes
|
||||
import androidx.annotation.ColorInt
|
||||
import androidx.appcompat.widget.AppCompatImageView
|
||||
import androidx.appcompat.widget.Toolbar
|
||||
import androidx.fragment.app.Fragment
|
||||
import code.name.monkey.appthemehelper.ThemeStore
|
||||
|
@ -140,4 +141,8 @@ fun TextInputLayout.accentColor() {
|
|||
|
||||
fun TextInputEditText.accentColor() {
|
||||
|
||||
}
|
||||
|
||||
fun AppCompatImageView.accentColor(): Int {
|
||||
return ThemeStore.accentColor(context)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue