Add more apps into presets, fix manage apps screen not visible sometimes

This commit is contained in:
frknkrc44 2025-10-09 02:07:32 +03:00
commit 4602398073
No known key found for this signature in database
GPG key ID: 784AE1CC0DCFD34F
3 changed files with 7 additions and 7 deletions

View file

@ -175,14 +175,8 @@ abstract class AppSelectFragment : Fragment(R.layout.fragment_app_select) {
}
}
val atLeastEntryCount: Int get() {
if (!search.isBlank()) return 0
return if (fragmentType < 2) 1 else 2
}
private fun checkIfEmpty() {
val emptyViewVisible = recyclerView.adapter!!.itemCount < atLeastEntryCount
val emptyViewVisible = recyclerView.adapter!!.itemCount < 1
emptyView.visibility = if (emptyViewVisible) View.VISIBLE else View.GONE
if (emptyViewVisible) {
emptyView.findViewById<TextView>(R.id.list_empty_text).text = getString(

View file

@ -33,6 +33,11 @@ class RootAppsPreset() : BasePreset("root_apps") {
"com.byyoung.setting",
"web1n.stopapp",
"org.adaway",
"com.mrsep.ttlchanger",
"mattecarra.accapp",
"io.github.saeeddev94.pixelnr",
"com.js.nowakelock",
"com.aistra.hail",
// Scene's "Core Edition" cannot be detected in the Xposed preset
"com.omarea.vtools",

View file

@ -9,6 +9,7 @@ class SuspiciousAppsPreset : BasePreset("sus_apps") {
"com.speedsoftware.rootexplorer",
"me.zhanghai.android.files",
"com.lonelycatgames.Xplore",
"org.fossify.filemanager",
)
val libNames = arrayOf(