Run spotless

pull/301/head
Caren Chang 2 years ago
parent e0e664846d
commit 4e11b7342b

@ -105,7 +105,8 @@ class TopicScreenTest {
newsResource = newsResource,
isSaved = index % 2 == 0,
)
}),
}
),
onBackClick = { },
onFollowClick = { },
onBookmarkChanged = { _, _ -> },
@ -130,7 +131,8 @@ class TopicScreenTest {
newsResource = newsResource,
isSaved = index % 2 == 0,
)
}),
}
),
onBackClick = { },
onFollowClick = { },
onBookmarkChanged = { _, _ -> },

@ -76,7 +76,7 @@ fun TopicRoute(
onBackClick = onBackClick,
onFollowClick = viewModel::followTopicToggle,
onBookmarkChanged = viewModel::bookmarkNews,
)
)
}
@VisibleForTesting
@ -254,7 +254,8 @@ fun TopicScreenPopulated() {
isSaved = index % 2 == 0,
)
}
), onBackClick = {},
),
onBackClick = {},
onFollowClick = {},
onBookmarkChanged = { _, _ -> },
)

@ -19,12 +19,9 @@ package com.google.samples.apps.nowinandroid.feature.topic
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.google.samples.apps.nowinandroid.core.data.repository.AuthorsRepository
import com.google.samples.apps.nowinandroid.core.data.repository.NewsRepository
import com.google.samples.apps.nowinandroid.core.data.repository.TopicsRepository
import com.google.samples.apps.nowinandroid.core.data.repository.UserDataRepository
import com.google.samples.apps.nowinandroid.core.model.data.Author
import com.google.samples.apps.nowinandroid.core.model.data.FollowableAuthor
import com.google.samples.apps.nowinandroid.core.model.data.FollowableTopic
import com.google.samples.apps.nowinandroid.core.model.data.NewsResource
import com.google.samples.apps.nowinandroid.core.model.data.SaveableNewsResource

Loading…
Cancel
Save