mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-26 17:57:49 +00:00
Updated layout of modules screen
The modules will show updates at the top, active modules in the middle and finally remote modules at the bottom. The modules "install" button will be at the top of the "active" list. This is done over usability concerns, as updates are more important than a list of installed modules.
This commit is contained in:
parent
d810e6c82d
commit
ee3028e67d
@ -95,13 +95,13 @@ class ModuleViewModel(
|
||||
val adapter = adapterOf<ComparableRvItem<*>>()
|
||||
val items = MergeObservableList<ComparableRvItem<*>>()
|
||||
.insertList(itemsCoreOnly)
|
||||
.insertItem(sectionActive)
|
||||
.insertList(itemsInstalledHelpers)
|
||||
.insertList(itemsInstalled)
|
||||
.insertItem(InstallModule)
|
||||
.insertItem(sectionUpdate)
|
||||
.insertList(itemsUpdatableHelpers)
|
||||
.insertList(itemsUpdatable)
|
||||
.insertItem(sectionActive)
|
||||
.insertList(itemsInstalledHelpers)
|
||||
.insertItem(InstallModule)
|
||||
.insertList(itemsInstalled)
|
||||
.insertItem(sectionRemote)
|
||||
.insertList(itemsRemote)!!
|
||||
val itemBinding = itemBindingOf<ComparableRvItem<*>> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user