File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
app/src/main/java/com/example/jetcaster/ui/home
core/src/test/kotlin/com/example/jetcaster/core/data/domain Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -105,12 +105,12 @@ import com.example.jetcaster.ui.theme.JetcasterTheme
105
105
import com.example.jetcaster.util.ToggleFollowPodcastIconButton
106
106
import com.example.jetcaster.util.quantityStringResource
107
107
import com.example.jetcaster.util.verticalGradientScrim
108
- import kotlinx.collections.immutable.PersistentList
109
- import kotlinx.collections.immutable.toPersistentList
110
- import kotlinx.coroutines.launch
111
108
import java.time.Duration
112
109
import java.time.LocalDateTime
113
110
import java.time.OffsetDateTime
111
+ import kotlinx.collections.immutable.PersistentList
112
+ import kotlinx.collections.immutable.toPersistentList
113
+ import kotlinx.coroutines.launch
114
114
115
115
@OptIn(ExperimentalMaterial3AdaptiveApi ::class )
116
116
@Composable
@@ -130,8 +130,8 @@ fun Home(
130
130
value = navigator.scaffoldValue,
131
131
directive = navigator.scaffoldDirective,
132
132
supportingPane = {
133
- val podcastUri = navigator.currentDestination?.content ? :
134
- viewState.featuredPodcasts.firstOrNull()?.uri
133
+ val podcastUri = navigator.currentDestination?.content
134
+ ? : viewState.featuredPodcasts.firstOrNull()?.uri
135
135
AnimatedPane {
136
136
if (podcastUri.isNullOrEmpty()) {
137
137
// TODO
Original file line number Diff line number Diff line change @@ -23,12 +23,12 @@ import com.example.jetcaster.core.data.database.model.Podcast
23
23
import com.example.jetcaster.core.data.database.model.PodcastWithExtraInfo
24
24
import com.example.jetcaster.core.data.model.asExternalModel
25
25
import com.example.jetcaster.core.data.repository.TestCategoryStore
26
+ import java.time.OffsetDateTime
26
27
import kotlinx.coroutines.flow.first
27
28
import kotlinx.coroutines.test.runTest
28
29
import org.junit.Assert.assertEquals
29
30
import org.junit.Assert.assertTrue
30
31
import org.junit.Test
31
- import java.time.OffsetDateTime
32
32
33
33
class PodcastCategoryFilterUseCaseTest {
34
34
You can’t perform that action at this time.
0 commit comments