mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-06-05 22:09:15 +02:00
use proper text color at MimeTypesActivity placeholders
This commit is contained in:
@ -64,7 +64,7 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'com.github.SimpleMobileTools:Simple-Commons:3aade6f350'
|
implementation 'com.github.SimpleMobileTools:Simple-Commons:58574dd952'
|
||||||
implementation 'com.github.tibbi:PdfViewPager:d2af24208d'
|
implementation 'com.github.tibbi:PdfViewPager:d2af24208d'
|
||||||
implementation 'com.github.Stericson:RootTools:df729dcb13'
|
implementation 'com.github.Stericson:RootTools:df729dcb13'
|
||||||
implementation 'com.github.Stericson:RootShell:1.6'
|
implementation 'com.github.Stericson:RootShell:1.6'
|
||||||
|
@ -71,6 +71,8 @@ class MimeTypesActivity : SimpleActivity(), ItemOperationsListener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mimetypes_fastscroller.updateColors(getProperPrimaryColor())
|
mimetypes_fastscroller.updateColors(getProperPrimaryColor())
|
||||||
|
mimetypes_placeholder.setTextColor(getProperTextColor())
|
||||||
|
mimetypes_placeholder_2.setTextColor(getProperTextColor())
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onResume() {
|
override fun onResume() {
|
||||||
|
@ -103,5 +103,3 @@ fun AppCompatActivity.hideSystemUI(toggleActionBarVisibility: Boolean) {
|
|||||||
View.SYSTEM_UI_FLAG_FULLSCREEN or
|
View.SYSTEM_UI_FLAG_FULLSCREEN or
|
||||||
View.SYSTEM_UI_FLAG_IMMERSIVE
|
View.SYSTEM_UI_FLAG_IMMERSIVE
|
||||||
}
|
}
|
||||||
|
|
||||||
fun Activity.getUiMode() = resources?.configuration?.uiMode?.and(Configuration.UI_MODE_NIGHT_MASK)
|
|
||||||
|
Reference in New Issue
Block a user