Update ExtensionPresenter.kt (#5895)

This commit is contained in:
FourTOne5 2021-09-12 19:34:37 +06:00 committed by GitHub
parent 2c14a8dee1
commit 3f2f946019
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)