Skip to content

Commit 833fa39

Browse files
nikit19nickbutcher
authored andcommittedJan 15, 2020
use camelCase in a variable name
1 parent e9c849a commit 833fa39

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

Diff for: ‎JetNews/app/src/main/java/com/example/jetnews/ui/interests/InterestsScreen.kt

+4-4
Original file line numberDiff line numberDiff line change
@@ -105,14 +105,14 @@ private fun PublicationsTab() {
105105
}
106106

107107
@Composable
108-
private fun TabWithTopics(tabname: String, topics: List<String>) {
108+
private fun TabWithTopics(tabName: String, topics: List<String>) {
109109
VerticalScroller {
110110
Column {
111111
HeightSpacer(16.dp)
112112
topics.forEach { topic ->
113113
TopicItem(
114114
getTopicKey(
115-
tabname,
115+
tabName,
116116
"- ",
117117
topic
118118
), topic
@@ -125,7 +125,7 @@ private fun TabWithTopics(tabname: String, topics: List<String>) {
125125

126126
@Composable
127127
private fun TabWithSections(
128-
tabname: String,
128+
tabName: String,
129129
sections: Map<String, List<String>>
130130
) {
131131
VerticalScroller {
@@ -138,7 +138,7 @@ private fun TabWithSections(
138138
topics.forEach { topic ->
139139
TopicItem(
140140
getTopicKey(
141-
tabname,
141+
tabName,
142142
section,
143143
topic
144144
), topic

0 commit comments

Comments
 (0)