mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 17:41:50 +01:00
Changing extensions badge in sheet to a dot
This commit is contained in:
parent
5e2cad868d
commit
29c2ffb604
@ -150,7 +150,7 @@ class ExtensionBottomSheet @JvmOverloads constructor(context: Context, attrs: At
|
||||
|
||||
fun updateExtTitle() {
|
||||
val extCount = presenter.getExtensionUpdateCount()
|
||||
if (extCount > 0) tabs.getTabAt(0)?.orCreateBadge?.number = extCount
|
||||
if (extCount > 0) tabs.getTabAt(0)?.orCreateBadge
|
||||
else tabs.getTabAt(0)?.removeBadge()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user