use val instead of val, make sentence more natural
This commit is contained in:
parent
0ae4d1369d
commit
85e16afaa0
4 changed files with 8 additions and 8 deletions
|
|
@ -189,7 +189,7 @@ class FeedGroupDialog : DialogFragment() {
|
|||
val groupAdapter = GroupAdapter<GroupieViewHolder>()
|
||||
groupAdapter.spanCount = if (useGridLayout) 4 else 1
|
||||
|
||||
var subscriptionsCount = this.selectedSubscriptions.size
|
||||
val subscriptionsCount = this.selectedSubscriptions.size
|
||||
val selectedCountText = resources.getQuantityString(R.plurals.feed_group_dialog_selection_count, subscriptionsCount, subscriptionsCount)
|
||||
selected_subscription_count_view.text = selectedCountText
|
||||
subscriptions_selector_header_info.text = selectedCountText
|
||||
|
|
@ -235,7 +235,7 @@ class FeedGroupDialog : DialogFragment() {
|
|||
item.isSelected = isSelected
|
||||
item.notifyChanged(PickerSubscriptionItem.UPDATE_SELECTED)
|
||||
|
||||
subscriptionsCount = this.selectedSubscriptions.size
|
||||
val subscriptionsCount = this.selectedSubscriptions.size
|
||||
val updateSelectedCountText = resources.getQuantityString(R.plurals.feed_group_dialog_selection_count, subscriptionsCount, subscriptionsCount)
|
||||
selected_subscription_count_view.text = updateSelectedCountText
|
||||
subscriptions_selector_header_info.text = updateSelectedCountText
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue