Update ExtensionPresenter.kt (#5895)

(cherry picked from commit 3f2f94601917ddba9eaee1056790490ae8fe5ffc)
This commit is contained in:
FourTOne5 2021-09-12 19:34:37 +06:00 committed by Jobobby04
parent 823bd024b7
commit a4dd13f491

View File

@ -72,7 +72,7 @@ open class ExtensionPresenter(
(avail.lang in activeLangs || avail.lang == "all") &&
(showNsfwExtensions || !avail.isNsfw)
}
.sortedBy { it.pkgName }
.sortedBy { it.name }
if (updatesSorted.isNotEmpty()) {
val header = ExtensionGroupItem(context.getString(R.string.ext_updates_pending), updatesSorted.size, true)