Skip to content

Commit 5b49563

Browse files
committedMar 11, 2020
Merge branch 'develop' into dev06_snapshot
2 parents 1b7a96d + 16e15d4 commit 5b49563

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed
 

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

+6-5
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import androidx.ui.core.Clip
2323
import androidx.ui.core.Opacity
2424
import androidx.ui.core.Text
2525
import androidx.ui.foundation.Box
26+
import androidx.ui.foundation.Box
2627
import androidx.ui.foundation.SimpleImage
2728
import androidx.ui.foundation.VerticalScroller
2829
import androidx.ui.foundation.selection.Toggleable
@@ -138,13 +139,13 @@ private fun PublicationsTab() {
138139
}
139140

140141
@Composable
141-
private fun TabWithTopics(tabname: String, topics: List<String>) {
142+
private fun TabWithTopics(tabName: String, topics: List<String>) {
142143
VerticalScroller {
143144
Column(modifier = LayoutPadding(top = 16.dp)) {
144145
topics.forEach { topic ->
145146
TopicItem(
146147
getTopicKey(
147-
tabname,
148+
tabName,
148149
"- ",
149150
topic
150151
),
@@ -158,7 +159,7 @@ private fun TabWithTopics(tabname: String, topics: List<String>) {
158159

159160
@Composable
160161
private fun TabWithSections(
161-
tabname: String,
162+
tabName: String,
162163
sections: Map<String, List<String>>
163164
) {
164165
VerticalScroller {
@@ -171,7 +172,7 @@ private fun TabWithSections(
171172
topics.forEach { topic ->
172173
TopicItem(
173174
getTopicKey(
174-
tabname,
175+
tabName,
175176
section,
176177
topic
177178
), topic
@@ -264,5 +265,5 @@ fun PreviewPeopleTab() {
264265
@Preview
265266
@Composable
266267
fun PreviewTabWithTopics() {
267-
TabWithTopics(tabname = "preview", topics = listOf("Hello", "Compose"))
268+
TabWithTopics(tabName = "preview", topics = listOf("Hello", "Compose"))
268269
}

‎JetNews/gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Mon Dec 16 15:55:18 CET 2019
1+
#Thu Feb 27 20:17:30 CET 2020
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME

0 commit comments

Comments
 (0)