Skip to content

Commit

Permalink
Outline buttons: drop more for stream search, only show number.
Browse files Browse the repository at this point in the history
  • Loading branch information
UweTrottmann committed Dec 7, 2023
1 parent fdc3971 commit 44e9ebd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import com.battlelancer.seriesguide.R
import com.battlelancer.seriesguide.tmdbapi.TmdbTools2
import com.battlelancer.seriesguide.util.ViewTools
import kotlinx.coroutines.Dispatchers
import java.text.NumberFormat
import java.util.Locale
import kotlin.coroutines.CoroutineContext

Expand Down Expand Up @@ -241,7 +242,7 @@ object StreamingSearch {
val providerOrNull = watchInfo.provider
return if (providerOrNull != null) {
val moreText = if (watchInfo.countMore > 0) {
" + " + context.getString(R.string.more, watchInfo.countMore)
" + " + NumberFormat.getIntegerInstance().format(watchInfo.countMore)
} else ""
val providerText = (providerOrNull.provider_name ?: "") + moreText
if (replaceButtonText) {
Expand Down

0 comments on commit 44e9ebd

Please sign in to comment.