From 35115d76d0e422add7f69c9f99b042b1f1aa9992 Mon Sep 17 00:00:00 2001 From: Him188 Date: Fri, 20 Sep 2024 00:02:43 +0100 Subject: [PATCH] Move SelectorEpisodePane.kt --- .../{test => episode}/SelectorEpisodePane.android.kt | 4 +++- .../selector/EditSelectorMediaSourcePage.kt | 10 +++++----- .../selector/{test => episode}/SelectorEpisodePane.kt | 3 ++- 3 files changed, 10 insertions(+), 7 deletions(-) rename app/shared/ui-settings/src/androidMain/kotlin/ui/settings/mediasource/selector/{test => episode}/SelectorEpisodePane.android.kt (94%) rename app/shared/ui-settings/src/commonMain/kotlin/ui/settings/mediasource/selector/{test => episode}/SelectorEpisodePane.kt (98%) diff --git a/app/shared/ui-settings/src/androidMain/kotlin/ui/settings/mediasource/selector/test/SelectorEpisodePane.android.kt b/app/shared/ui-settings/src/androidMain/kotlin/ui/settings/mediasource/selector/episode/SelectorEpisodePane.android.kt similarity index 94% rename from app/shared/ui-settings/src/androidMain/kotlin/ui/settings/mediasource/selector/test/SelectorEpisodePane.android.kt rename to app/shared/ui-settings/src/androidMain/kotlin/ui/settings/mediasource/selector/episode/SelectorEpisodePane.android.kt index e0adacf7de..e2b38b582e 100644 --- a/app/shared/ui-settings/src/androidMain/kotlin/ui/settings/mediasource/selector/test/SelectorEpisodePane.android.kt +++ b/app/shared/ui-settings/src/androidMain/kotlin/ui/settings/mediasource/selector/episode/SelectorEpisodePane.android.kt @@ -7,7 +7,7 @@ * https://github.com/open-ani/ani/blob/main/LICENSE */ -package me.him188.ani.app.ui.settings.mediasource.selector.test +package me.him188.ani.app.ui.settings.mediasource.selector.episode import androidx.compose.foundation.layout.ColumnScope import androidx.compose.foundation.layout.PaddingValues @@ -24,6 +24,8 @@ import me.him188.ani.app.ui.foundation.ProvideFoundationCompositionLocalsForPrev import me.him188.ani.app.ui.foundation.stateOf import me.him188.ani.app.ui.settings.mediasource.rss.test.buildMatchTags import me.him188.ani.app.ui.settings.mediasource.selector.edit.rememberTestSelectorConfigurationState +import me.him188.ani.app.ui.settings.mediasource.selector.test.SelectorTestEpisodePresentation +import me.him188.ani.app.ui.settings.mediasource.selector.test.TestSelectorMediaSourceEngine import me.him188.ani.datasources.api.EpisodeSort import me.him188.ani.utils.platform.annotations.TestOnly import kotlin.coroutines.EmptyCoroutineContext diff --git a/app/shared/ui-settings/src/commonMain/kotlin/ui/settings/mediasource/selector/EditSelectorMediaSourcePage.kt b/app/shared/ui-settings/src/commonMain/kotlin/ui/settings/mediasource/selector/EditSelectorMediaSourcePage.kt index 0c7ee340c7..bd65b697f5 100644 --- a/app/shared/ui-settings/src/commonMain/kotlin/ui/settings/mediasource/selector/EditSelectorMediaSourcePage.kt +++ b/app/shared/ui-settings/src/commonMain/kotlin/ui/settings/mediasource/selector/EditSelectorMediaSourcePage.kt @@ -46,11 +46,11 @@ import me.him188.ani.app.ui.foundation.widgets.TopAppBarGoBackButton import me.him188.ani.app.ui.settings.mediasource.rss.SaveableStorage import me.him188.ani.app.ui.settings.mediasource.selector.edit.SelectorConfigurationPane import me.him188.ani.app.ui.settings.mediasource.selector.edit.SelectorConfigurationState -import me.him188.ani.app.ui.settings.mediasource.selector.test.ConfigurationContent -import me.him188.ani.app.ui.settings.mediasource.selector.test.SelectorEpisodePane -import me.him188.ani.app.ui.settings.mediasource.selector.test.SelectorEpisodePaneDefaults -import me.him188.ani.app.ui.settings.mediasource.selector.test.SelectorEpisodePaneLayout -import me.him188.ani.app.ui.settings.mediasource.selector.test.SelectorEpisodeState +import me.him188.ani.app.ui.settings.mediasource.selector.episode.ConfigurationContent +import me.him188.ani.app.ui.settings.mediasource.selector.episode.SelectorEpisodePane +import me.him188.ani.app.ui.settings.mediasource.selector.episode.SelectorEpisodePaneDefaults +import me.him188.ani.app.ui.settings.mediasource.selector.episode.SelectorEpisodePaneLayout +import me.him188.ani.app.ui.settings.mediasource.selector.episode.SelectorEpisodeState import me.him188.ani.app.ui.settings.mediasource.selector.test.SelectorTestPane import me.him188.ani.app.ui.settings.mediasource.selector.test.SelectorTestState diff --git a/app/shared/ui-settings/src/commonMain/kotlin/ui/settings/mediasource/selector/test/SelectorEpisodePane.kt b/app/shared/ui-settings/src/commonMain/kotlin/ui/settings/mediasource/selector/episode/SelectorEpisodePane.kt similarity index 98% rename from app/shared/ui-settings/src/commonMain/kotlin/ui/settings/mediasource/selector/test/SelectorEpisodePane.kt rename to app/shared/ui-settings/src/commonMain/kotlin/ui/settings/mediasource/selector/episode/SelectorEpisodePane.kt index e89c77b7f1..9b5e95a80e 100644 --- a/app/shared/ui-settings/src/commonMain/kotlin/ui/settings/mediasource/selector/test/SelectorEpisodePane.kt +++ b/app/shared/ui-settings/src/commonMain/kotlin/ui/settings/mediasource/selector/episode/SelectorEpisodePane.kt @@ -7,7 +7,7 @@ * https://github.com/open-ani/ani/blob/main/LICENSE */ -package me.him188.ani.app.ui.settings.mediasource.selector.test +package me.him188.ani.app.ui.settings.mediasource.selector.episode import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column @@ -61,6 +61,7 @@ import me.him188.ani.app.ui.settings.mediasource.launchCollectedInBackground import me.him188.ani.app.ui.settings.mediasource.selector.edit.MatchVideoSection import me.him188.ani.app.ui.settings.mediasource.selector.edit.SelectorConfigurationDefaults import me.him188.ani.app.ui.settings.mediasource.selector.edit.SelectorConfigurationState +import me.him188.ani.app.ui.settings.mediasource.selector.test.SelectorTestEpisodePresentation import me.him188.ani.datasources.api.matcher.WebVideo import me.him188.ani.datasources.api.matcher.WebVideoMatcher import kotlin.coroutines.CoroutineContext