use proper text color at MimeTypesActivity placeholders
This commit is contained in:
parent
88ef6c2c18
commit
8c2b633655
|
@ -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'
|
||||
|
|
|
@ -71,6 +71,8 @@ class MimeTypesActivity : SimpleActivity(), ItemOperationsListener {
|
|||
}
|
||||
|
||||
mimetypes_fastscroller.updateColors(getProperPrimaryColor())
|
||||
mimetypes_placeholder.setTextColor(getProperTextColor())
|
||||
mimetypes_placeholder_2.setTextColor(getProperTextColor())
|
||||
}
|
||||
|
||||
override fun onResume() {
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue