mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-25 21:47:37 +00:00
Actually apply the input name
This commit is contained in:
parent
7ded7de39a
commit
9656878ef3
@ -69,7 +69,7 @@ class SettingsFragment : BasePreferenceFragment() {
|
|||||||
val hideManager = findPreference<Preference>("hide")!!
|
val hideManager = findPreference<Preference>("hide")!!
|
||||||
hideManager.setOnPreferenceClickListener {
|
hideManager.setOnPreferenceClickListener {
|
||||||
showManagerNameDialog {
|
showManagerNameDialog {
|
||||||
PatchAPK.hideManager(requireContext(), "Manager")
|
PatchAPK.hideManager(requireContext(), it)
|
||||||
}
|
}
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
@ -346,6 +346,7 @@ class SettingsFragment : BasePreferenceFragment() {
|
|||||||
onSuccess(data.name.value)
|
onSuccess(data.name.value)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.setNegativeButton(R.string.close, null)
|
||||||
.show()
|
.show()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user