@ -55,9 +55,8 @@ object Help {
if (vp != null) {
for (i in 0 until vp.childCount) {
vp.getChildAt(i).context.packageName
if (vp.getChildAt(i).id != NO_ID && NAVIGATION == activity.resources.getResourceEntryName(
if (vp.getChildAt(i).id != NO_ID
vp.getChildAt(i).id
&& NAVIGATION == activity.resources.getResourceEntryName(vp.getChildAt(i).id)
)
) {
return true
}
@ -103,6 +103,9 @@ class BgTextConfigDialog : DialogFragment() {
sw_dark_status_icon.onCheckedChange { buttonView, isChecked ->
if (buttonView?.isPressed == true) {
setStatusIconDark(isChecked)
activity?.let {
Help.upSystemUiVisibility(it)
tv_text_color.onClick {