diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index 474229a9535..6d7b7776a70 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -3,7 +3,7 @@ *** For entries which are touching the Android Wear app's, start entry with `[WEAR]` too. 22.1 ----- - +- [*] The order count badge is now fully visible for counts higher than 99 [https://github.com/woocommerce/woocommerce-android/pull/13825] 22.0 ----- diff --git a/WooCommerce/src/main/kotlin/com/woocommerce/android/ui/main/MainBottomNavigationView.kt b/WooCommerce/src/main/kotlin/com/woocommerce/android/ui/main/MainBottomNavigationView.kt index 17d07eeb90c..f138bc2bdfa 100644 --- a/WooCommerce/src/main/kotlin/com/woocommerce/android/ui/main/MainBottomNavigationView.kt +++ b/WooCommerce/src/main/kotlin/com/woocommerce/android/ui/main/MainBottomNavigationView.kt @@ -76,7 +76,7 @@ class MainBottomNavigationView @JvmOverloads constructor( ordersBadge = getOrCreateBadge(R.id.orders) ordersBadge.isVisible = false ordersBadge.backgroundColor = ContextCompat.getColor(context, R.color.color_primary) - ordersBadge.maxCharacterCount = 3 // this includes the plus sign + ordersBadge.maxCharacterCount = 4 // this includes the plus sign moreMenuBadge = getOrCreateBadge(R.id.moreMenu) moreMenuBadge.isVisible = false @@ -133,10 +133,6 @@ class MainBottomNavigationView @JvmOverloads constructor( } } - fun clearOrderBadgeCount() { - ordersBadge.clearNumber() - } - override fun onNavigationItemSelected(item: MenuItem): Boolean { navController?.let { navController -> val navSuccess = NavigationUI.onNavDestinationSelected(item, navController)