Skip to content

Commit ee2afd4

Browse files
Optimize docs
1 parent 486bb80 commit ee2afd4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/cn/kotlin/ext.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,10 @@ TabLayoutMediator(tabLayout, viewPager2) { tab, position ->
143143
tabLayout.doOnCustomTabSelected<LayoutBottomTabBinding>(
144144
// tabLayout.doOnCustomTabSelected(LayoutBottomTabBinding::bind,
145145
onTabSelected = {
146-
textView.textSize = 12f
146+
tvTitle.textSize = 12f
147147
},
148148
onTabUnselected = {
149-
textView.textSize = 10f
149+
tvTitle.textSize = 10f
150150
})
151151
```
152152

docs/en/kotlin/ext.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,10 @@ TabLayoutMediator(tabLayout, viewPager2) { tab, position ->
141141
tabLayout.doOnCustomTabSelected<LayoutBottomTabBinding>(
142142
// tabLayout.doOnCustomTabSelected(LayoutBottomTabBinding::bind,
143143
onTabSelected = {
144-
textView.textSize = 12f
144+
tvTitle.textSize = 12f
145145
},
146146
onTabUnselected = {
147-
textView.textSize = 10f
147+
tvTitle.textSize = 10f
148148
})
149149
```
150150

0 commit comments

Comments
 (0)