use proper text color at MimeTypesActivity placeholders

This commit is contained in:
tibbi 2023-01-28 09:06:02 +01:00
parent 88ef6c2c18
commit 8c2b633655
3 changed files with 3 additions and 3 deletions

View File

@ -64,7 +64,7 @@ android {
}
dependencies {
implementation 'com.github.SimpleMobileTools:Simple-Commons:3aade6f350'
implementation 'com.github.SimpleMobileTools:Simple-Commons:58574dd952'
implementation 'com.github.tibbi:PdfViewPager:d2af24208d'
implementation 'com.github.Stericson:RootTools:df729dcb13'
implementation 'com.github.Stericson:RootShell:1.6'

View File

@ -71,6 +71,8 @@ class MimeTypesActivity : SimpleActivity(), ItemOperationsListener {
}
mimetypes_fastscroller.updateColors(getProperPrimaryColor())
mimetypes_placeholder.setTextColor(getProperTextColor())
mimetypes_placeholder_2.setTextColor(getProperTextColor())
}
override fun onResume() {

View File

@ -103,5 +103,3 @@ fun AppCompatActivity.hideSystemUI(toggleActionBarVisibility: Boolean) {
View.SYSTEM_UI_FLAG_FULLSCREEN or
View.SYSTEM_UI_FLAG_IMMERSIVE
}
fun Activity.getUiMode() = resources?.configuration?.uiMode?.and(Configuration.UI_MODE_NIGHT_MASK)