update the recordings adapter text color on every resume

This commit is contained in:
tibbi 2020-04-17 22:49:14 +02:00
parent c5f507944c
commit 02a846fb8e
1 changed files with 3 additions and 0 deletions

View File

@ -44,7 +44,10 @@ class PlayerFragment(context: Context, attributeSet: AttributeSet) : MyViewPager
setupColors()
if (!prevSavePath.isEmpty() && context!!.config.saveRecordingsFolder != prevSavePath) {
setupAdapter()
} else {
getRecordingsAdapter()?.updateTextColor(context.config.textColor)
}
storePrevPath()
}