Skip to content

Commit 6d36737

Browse files
committedMar 6, 2020
Merge branch 'master' into dev05_rebase
2 parents 9653017 + 821e336 commit 6d36737

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed
 

‎JetNews/app/src/androidTest/java/com/example/jetnews/JetnewsUiTest.kt

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import androidx.test.filters.Suppress
2121
import androidx.ui.test.assertIsDisplayed
2222
import androidx.ui.test.createComposeRule
2323
import androidx.ui.test.doClick
24+
import androidx.ui.test.findAllByText
2425
import androidx.ui.test.findByText
2526
import org.junit.Before
2627
import org.junit.Rule

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

+5-5
Original file line numberDiff line numberDiff line change
@@ -137,13 +137,13 @@ private fun PublicationsTab() {
137137
}
138138

139139
@Composable
140-
private fun TabWithTopics(tabname: String, topics: List<String>) {
140+
private fun TabWithTopics(tabName: String, topics: List<String>) {
141141
VerticalScroller {
142142
Column(modifier = LayoutPadding(top = 16.dp)) {
143143
topics.forEach { topic ->
144144
TopicItem(
145145
getTopicKey(
146-
tabname,
146+
tabName,
147147
"- ",
148148
topic
149149
),
@@ -157,7 +157,7 @@ private fun TabWithTopics(tabname: String, topics: List<String>) {
157157

158158
@Composable
159159
private fun TabWithSections(
160-
tabname: String,
160+
tabName: String,
161161
sections: Map<String, List<String>>
162162
) {
163163
VerticalScroller {
@@ -170,7 +170,7 @@ private fun TabWithSections(
170170
topics.forEach { topic ->
171171
TopicItem(
172172
getTopicKey(
173-
tabname,
173+
tabName,
174174
section,
175175
topic
176176
), topic
@@ -263,5 +263,5 @@ fun PreviewPeopleTab() {
263263
@Preview
264264
@Composable
265265
fun PreviewTabWithTopics() {
266-
TabWithTopics(tabname = "preview", topics = listOf("Hello", "Compose"))
266+
TabWithTopics(tabName = "preview", topics = listOf("Hello", "Compose"))
267267
}

‎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)