diff --git a/appAndroid/build.gradle.kts b/appAndroid/build.gradle.kts index 7f6529e29..8e5e3d224 100644 --- a/appAndroid/build.gradle.kts +++ b/appAndroid/build.gradle.kts @@ -11,7 +11,7 @@ android { compileSdk = 34 defaultConfig { - applicationId = "com.vickikbt.notflix" + applicationId = "com.vickbt.notflix" minSdk = 24 targetSdk = compileSdk @@ -47,7 +47,7 @@ android { composeOptions { kotlinCompilerExtensionVersion = "1.5.3" } - namespace = "com.vickikbt.notflix" + namespace = "com.vickbt.notflix" } dependencies { diff --git a/appAndroid/google-services.json b/appAndroid/google-services.json index b29d297bc..fc128a898 100644 --- a/appAndroid/google-services.json +++ b/appAndroid/google-services.json @@ -9,7 +9,7 @@ "client_info": { "mobilesdk_app_id": "1:393812441846:android:88af4c42582e9416204ad7", "android_client_info": { - "package_name": "com.vickikbt.notflix" + "package_name": "com.vickbt.notflix" } }, "oauth_client": [ diff --git a/appAndroid/src/main/java/com/vickikbt/notflix/NotflixApplication.kt b/appAndroid/src/main/java/com/vickbt/notflix/NotflixApplication.kt similarity index 82% rename from appAndroid/src/main/java/com/vickikbt/notflix/NotflixApplication.kt rename to appAndroid/src/main/java/com/vickbt/notflix/NotflixApplication.kt index 500d81580..460500789 100644 --- a/appAndroid/src/main/java/com/vickikbt/notflix/NotflixApplication.kt +++ b/appAndroid/src/main/java/com/vickbt/notflix/NotflixApplication.kt @@ -1,8 +1,8 @@ -package com.vickikbt.notflix +package com.vickbt.notflix import android.app.Application -import com.vickikbt.shared.di.initKoin -import com.vickikbt.shared.utils.ContextUtils +import com.vickbt.shared.di.initKoin +import com.vickbt.shared.utils.ContextUtils import org.koin.android.BuildConfig import org.koin.android.ext.koin.androidContext import org.koin.android.ext.koin.androidLogger diff --git a/appAndroid/src/main/java/com/vickikbt/notflix/ui/activity/MainActivity.kt b/appAndroid/src/main/java/com/vickbt/notflix/ui/activity/MainActivity.kt similarity index 81% rename from appAndroid/src/main/java/com/vickikbt/notflix/ui/activity/MainActivity.kt rename to appAndroid/src/main/java/com/vickbt/notflix/ui/activity/MainActivity.kt index 536c06ef5..792e881e5 100644 --- a/appAndroid/src/main/java/com/vickikbt/notflix/ui/activity/MainActivity.kt +++ b/appAndroid/src/main/java/com/vickbt/notflix/ui/activity/MainActivity.kt @@ -1,8 +1,8 @@ -package com.vickikbt.notflix.ui.activity +package com.vickbt.notflix.ui.activity import android.os.Bundle import androidx.compose.animation.ExperimentalAnimationApi -import com.vickikbt.shared.ui.screens.main.MainScreen +import com.vickbt.shared.ui.screens.main.MainScreen import moe.tlaster.precompose.lifecycle.PreComposeActivity import moe.tlaster.precompose.lifecycle.setContent diff --git a/appDesktop/build.gradle.kts b/appDesktop/build.gradle.kts index 06668f1b7..482a8ae1b 100644 --- a/appDesktop/build.gradle.kts +++ b/appDesktop/build.gradle.kts @@ -11,6 +11,6 @@ dependencies { compose.desktop { application { - mainClass = "com.vickikbt.notflix.NotflixApplicationKt" + mainClass = "com.vickbt.notflix.NotflixApplicationKt" } } diff --git a/appDesktop/src/main/kotlin/com/vickbt/notflix/NotflixApplication.kt b/appDesktop/src/main/kotlin/com/vickbt/notflix/NotflixApplication.kt index 9aaf41885..4a2cbc373 100644 --- a/appDesktop/src/main/kotlin/com/vickbt/notflix/NotflixApplication.kt +++ b/appDesktop/src/main/kotlin/com/vickbt/notflix/NotflixApplication.kt @@ -2,7 +2,7 @@ package com.vickbt.notflix import androidx.compose.ui.window.application import com.vickbt.notflix.ui.windows.MainWindow -import com.vickikbt.shared.di.initKoin +import com.vickbt.shared.di.initKoin import org.koin.core.Koin lateinit var koin: Koin diff --git a/appDesktop/src/main/kotlin/com/vickbt/notflix/ui/windows/MainWindow.kt b/appDesktop/src/main/kotlin/com/vickbt/notflix/ui/windows/MainWindow.kt index cf3670ef4..ad8f18394 100644 --- a/appDesktop/src/main/kotlin/com/vickbt/notflix/ui/windows/MainWindow.kt +++ b/appDesktop/src/main/kotlin/com/vickbt/notflix/ui/windows/MainWindow.kt @@ -6,7 +6,7 @@ import androidx.compose.ui.unit.dp import androidx.compose.ui.window.ApplicationScope import androidx.compose.ui.window.WindowPosition import androidx.compose.ui.window.rememberWindowState -import com.vickikbt.shared.ui.screens.main.MainScreen +import com.vickbt.shared.ui.screens.main.MainScreen import moe.tlaster.precompose.PreComposeWindow @Composable diff --git a/shared/build.gradle.kts b/shared/build.gradle.kts index 66d8c4262..5651a8609 100644 --- a/shared/build.gradle.kts +++ b/shared/build.gradle.kts @@ -101,7 +101,7 @@ android { defaultConfig { minSdk = 24 } - namespace = "com.vickikbt.shared" + namespace = "com.vickbt.shared" compileOptions { sourceCompatibility = JavaVersion.VERSION_17 @@ -114,7 +114,7 @@ android { } buildkonfig { - packageName = "com.vickikbt.shared" + packageName = "com.vickbt.shared" defaultConfigs { buildConfigField( diff --git a/shared/src/androidMain/kotlin/com/vickikbt/shared/di/Module.kt b/shared/src/androidMain/kotlin/com/vickbt/shared/di/Module.kt similarity index 65% rename from shared/src/androidMain/kotlin/com/vickikbt/shared/di/Module.kt rename to shared/src/androidMain/kotlin/com/vickbt/shared/di/Module.kt index d3bab9baf..44661ae07 100644 --- a/shared/src/androidMain/kotlin/com/vickikbt/shared/di/Module.kt +++ b/shared/src/androidMain/kotlin/com/vickbt/shared/di/Module.kt @@ -1,6 +1,6 @@ -package com.vickikbt.shared.di +package com.vickbt.shared.di -import com.vickikbt.shared.utils.MultiplatformSettingsWrapper +import com.vickbt.shared.utils.MultiplatformSettingsWrapper import org.koin.core.module.Module import org.koin.dsl.module diff --git a/shared/src/androidMain/kotlin/com/vickikbt/shared/utils/ContextUtils.kt b/shared/src/androidMain/kotlin/com/vickbt/shared/utils/ContextUtils.kt similarity index 91% rename from shared/src/androidMain/kotlin/com/vickikbt/shared/utils/ContextUtils.kt rename to shared/src/androidMain/kotlin/com/vickbt/shared/utils/ContextUtils.kt index 7120d0156..c785b3074 100644 --- a/shared/src/androidMain/kotlin/com/vickikbt/shared/utils/ContextUtils.kt +++ b/shared/src/androidMain/kotlin/com/vickbt/shared/utils/ContextUtils.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.utils +package com.vickbt.shared.utils import android.content.Context diff --git a/shared/src/androidMain/kotlin/com/vickikbt/shared/utils/CustomImageLoader.kt b/shared/src/androidMain/kotlin/com/vickbt/shared/utils/CustomImageLoader.kt similarity index 96% rename from shared/src/androidMain/kotlin/com/vickikbt/shared/utils/CustomImageLoader.kt rename to shared/src/androidMain/kotlin/com/vickbt/shared/utils/CustomImageLoader.kt index 0b8852526..9ca77e28a 100644 --- a/shared/src/androidMain/kotlin/com/vickikbt/shared/utils/CustomImageLoader.kt +++ b/shared/src/androidMain/kotlin/com/vickbt/shared/utils/CustomImageLoader.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.utils +package com.vickbt.shared.utils import com.seiko.imageloader.ImageLoader import com.seiko.imageloader.cache.memory.maxSizePercent diff --git a/shared/src/androidMain/kotlin/com/vickikbt/shared/utils/MultiplatformSettingsWrapper.kt b/shared/src/androidMain/kotlin/com/vickbt/shared/utils/MultiplatformSettingsWrapper.kt similarity index 93% rename from shared/src/androidMain/kotlin/com/vickikbt/shared/utils/MultiplatformSettingsWrapper.kt rename to shared/src/androidMain/kotlin/com/vickbt/shared/utils/MultiplatformSettingsWrapper.kt index c61dd4974..a09b9860e 100644 --- a/shared/src/androidMain/kotlin/com/vickikbt/shared/utils/MultiplatformSettingsWrapper.kt +++ b/shared/src/androidMain/kotlin/com/vickbt/shared/utils/MultiplatformSettingsWrapper.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.utils +package com.vickbt.shared.utils import android.content.Context import com.russhwolf.settings.AndroidSettings diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/datasources/FavoritesRepositoryImpl.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/data/datasources/FavoritesRepositoryImpl.kt similarity index 75% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/data/datasources/FavoritesRepositoryImpl.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/data/datasources/FavoritesRepositoryImpl.kt index 94b8d1889..ec2aae551 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/datasources/FavoritesRepositoryImpl.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/data/datasources/FavoritesRepositoryImpl.kt @@ -1,7 +1,7 @@ -package com.vickikbt.shared.data.datasources +package com.vickbt.shared.data.datasources -import com.vickikbt.shared.domain.models.MovieDetails -import com.vickikbt.shared.domain.repositories.FavoritesRepository +import com.vickbt.shared.domain.models.MovieDetails +import com.vickbt.shared.domain.repositories.FavoritesRepository import io.ktor.client.HttpClient import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.flowOf diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/datasources/MovieDetailsRepositoryImpl.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/data/datasources/MovieDetailsRepositoryImpl.kt similarity index 69% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/data/datasources/MovieDetailsRepositoryImpl.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/data/datasources/MovieDetailsRepositoryImpl.kt index 08e41cc78..761b7cde8 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/datasources/MovieDetailsRepositoryImpl.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/data/datasources/MovieDetailsRepositoryImpl.kt @@ -1,15 +1,15 @@ -package com.vickikbt.shared.data.datasources +package com.vickbt.shared.data.datasources -import com.vickikbt.shared.data.mappers.toDomain -import com.vickikbt.shared.data.network.models.CastDto -import com.vickikbt.shared.data.network.models.MovieDetailsDto -import com.vickikbt.shared.data.network.models.MovieResultsDto -import com.vickikbt.shared.data.network.utils.safeApiCall -import com.vickikbt.shared.domain.models.Cast -import com.vickikbt.shared.domain.models.Movie -import com.vickikbt.shared.domain.models.MovieDetails -import com.vickikbt.shared.domain.repositories.MovieDetailsRepository -import com.vickikbt.shared.utils.NetworkResultState +import com.vickbt.shared.data.mappers.toDomain +import com.vickbt.shared.data.network.models.CastDto +import com.vickbt.shared.data.network.models.MovieDetailsDto +import com.vickbt.shared.data.network.models.MovieResultsDto +import com.vickbt.shared.data.network.utils.safeApiCall +import com.vickbt.shared.domain.models.Cast +import com.vickbt.shared.domain.models.Movie +import com.vickbt.shared.domain.models.MovieDetails +import com.vickbt.shared.domain.repositories.MovieDetailsRepository +import com.vickbt.shared.utils.NetworkResultState import io.ktor.client.HttpClient import io.ktor.client.call.body import io.ktor.client.request.get diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/datasources/MoviesRepositoryImpl.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/data/datasources/MoviesRepositoryImpl.kt similarity index 88% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/data/datasources/MoviesRepositoryImpl.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/data/datasources/MoviesRepositoryImpl.kt index a76dc3873..92a8b0817 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/datasources/MoviesRepositoryImpl.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/data/datasources/MoviesRepositoryImpl.kt @@ -1,11 +1,11 @@ -package com.vickikbt.shared.data.datasources +package com.vickbt.shared.data.datasources -import com.vickikbt.shared.data.mappers.toDomain -import com.vickikbt.shared.data.network.models.MovieResultsDto -import com.vickikbt.shared.data.network.utils.safeApiCall -import com.vickikbt.shared.domain.models.Movie -import com.vickikbt.shared.domain.repositories.MoviesRepository -import com.vickikbt.shared.utils.NetworkResultState +import com.vickbt.shared.data.mappers.toDomain +import com.vickbt.shared.data.network.models.MovieResultsDto +import com.vickbt.shared.data.network.utils.safeApiCall +import com.vickbt.shared.domain.models.Movie +import com.vickbt.shared.domain.repositories.MoviesRepository +import com.vickbt.shared.utils.NetworkResultState import io.ktor.client.HttpClient import io.ktor.client.call.body import io.ktor.client.request.get diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/datasources/SettingsRepositoryImpl.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/data/datasources/SettingsRepositoryImpl.kt similarity index 74% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/data/datasources/SettingsRepositoryImpl.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/data/datasources/SettingsRepositoryImpl.kt index ec353b049..ddd26eb5b 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/datasources/SettingsRepositoryImpl.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/data/datasources/SettingsRepositoryImpl.kt @@ -1,10 +1,10 @@ -package com.vickikbt.shared.data.datasources +package com.vickbt.shared.data.datasources import com.russhwolf.settings.ObservableSettings import com.russhwolf.settings.coroutines.getIntOrNullFlow -import com.vickikbt.shared.domain.repositories.SettingsRepository -import com.vickikbt.shared.domain.utils.Constants.KEY_IMAGE_QUALITY -import com.vickikbt.shared.domain.utils.Constants.KEY_THEME +import com.vickbt.shared.domain.repositories.SettingsRepository +import com.vickbt.shared.domain.utils.Constants.KEY_IMAGE_QUALITY +import com.vickbt.shared.domain.utils.Constants.KEY_THEME import kotlinx.coroutines.flow.Flow class SettingsRepositoryImpl constructor(private val observableSettings: ObservableSettings) : diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/mappers/DtoToDomain.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/data/mappers/DtoToDomain.kt similarity index 77% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/data/mappers/DtoToDomain.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/data/mappers/DtoToDomain.kt index 087b4e5da..5a56cd588 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/mappers/DtoToDomain.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/data/mappers/DtoToDomain.kt @@ -1,17 +1,17 @@ -package com.vickikbt.shared.data.mappers +package com.vickbt.shared.data.mappers -import com.vickikbt.shared.data.network.models.ActorDto -import com.vickikbt.shared.data.network.models.CastDto -import com.vickikbt.shared.data.network.models.ErrorResponseDto -import com.vickikbt.shared.data.network.models.MovieDetailsDto -import com.vickikbt.shared.data.network.models.MovieDto -import com.vickikbt.shared.data.network.models.VideoDto -import com.vickikbt.shared.domain.models.Actor -import com.vickikbt.shared.domain.models.Cast -import com.vickikbt.shared.domain.models.ErrorResponse -import com.vickikbt.shared.domain.models.Movie -import com.vickikbt.shared.domain.models.MovieDetails -import com.vickikbt.shared.domain.models.Video +import com.vickbt.shared.data.network.models.ActorDto +import com.vickbt.shared.data.network.models.CastDto +import com.vickbt.shared.data.network.models.ErrorResponseDto +import com.vickbt.shared.data.network.models.MovieDetailsDto +import com.vickbt.shared.data.network.models.MovieDto +import com.vickbt.shared.data.network.models.VideoDto +import com.vickbt.shared.domain.models.Actor +import com.vickbt.shared.domain.models.Cast +import com.vickbt.shared.domain.models.ErrorResponse +import com.vickbt.shared.domain.models.Movie +import com.vickbt.shared.domain.models.MovieDetails +import com.vickbt.shared.domain.models.Video fun MovieDto.toDomain(): Movie { return Movie( diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/ActorDto.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/ActorDto.kt similarity index 91% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/ActorDto.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/ActorDto.kt index b81b8f145..436efbed7 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/ActorDto.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/ActorDto.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.data.network.models +package com.vickbt.shared.data.network.models import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/ApiError.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/ApiError.kt similarity index 86% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/ApiError.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/ApiError.kt index a6e7ea1aa..86512362a 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/ApiError.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/ApiError.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.data.network.models +package com.vickbt.shared.data.network.models import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/CastDto.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/CastDto.kt similarity index 82% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/CastDto.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/CastDto.kt index 0df2402be..a6192fe8f 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/CastDto.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/CastDto.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.data.network.models +package com.vickbt.shared.data.network.models import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/DatesDto.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/DatesDto.kt similarity index 83% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/DatesDto.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/DatesDto.kt index 9a349948b..12df74db2 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/DatesDto.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/DatesDto.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.data.network.models +package com.vickbt.shared.data.network.models import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/ErrorResponseDto.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/ErrorResponseDto.kt similarity index 86% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/ErrorResponseDto.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/ErrorResponseDto.kt index a529406b4..db5713c7c 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/ErrorResponseDto.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/ErrorResponseDto.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.data.network.models +package com.vickbt.shared.data.network.models import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/GenreDto.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/GenreDto.kt similarity index 82% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/GenreDto.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/GenreDto.kt index a1460f005..28fde62a1 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/GenreDto.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/GenreDto.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.data.network.models +package com.vickbt.shared.data.network.models import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/MovieDetailsDto.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/MovieDetailsDto.kt similarity index 96% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/MovieDetailsDto.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/MovieDetailsDto.kt index 1c4d94e6b..30763330e 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/MovieDetailsDto.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/MovieDetailsDto.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.data.network.models +package com.vickbt.shared.data.network.models import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/MovieDto.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/MovieDto.kt similarity index 95% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/MovieDto.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/MovieDto.kt index 2c2542f28..c828f465c 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/MovieDto.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/MovieDto.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.data.network.models +package com.vickbt.shared.data.network.models import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/MovieResultsDto.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/MovieResultsDto.kt similarity index 88% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/MovieResultsDto.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/MovieResultsDto.kt index 4dfe99cb6..f6fed87a4 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/MovieResultsDto.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/MovieResultsDto.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.data.network.models +package com.vickbt.shared.data.network.models import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/MovieVideoDto.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/MovieVideoDto.kt similarity index 83% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/MovieVideoDto.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/MovieVideoDto.kt index 3bbeb4a3a..908655f88 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/MovieVideoDto.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/MovieVideoDto.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.data.network.models +package com.vickbt.shared.data.network.models import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/SpokenLanguageDto.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/SpokenLanguageDto.kt similarity index 86% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/SpokenLanguageDto.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/SpokenLanguageDto.kt index d764617fe..220460627 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/SpokenLanguageDto.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/SpokenLanguageDto.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.data.network.models +package com.vickbt.shared.data.network.models import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/VideoDto.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/VideoDto.kt similarity index 93% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/VideoDto.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/VideoDto.kt index 021d7c8f5..4e6a12130 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/models/VideoDto.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/data/network/models/VideoDto.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.data.network.models +package com.vickbt.shared.data.network.models import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/utils/SafeApiCall.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/data/network/utils/SafeApiCall.kt similarity index 86% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/utils/SafeApiCall.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/data/network/utils/SafeApiCall.kt index 5280c86c8..6620b2453 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/data/network/utils/SafeApiCall.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/data/network/utils/SafeApiCall.kt @@ -1,9 +1,9 @@ -package com.vickikbt.shared.data.network.utils +package com.vickbt.shared.data.network.utils -import com.vickikbt.shared.data.mappers.toDomain -import com.vickikbt.shared.data.network.models.ErrorResponseDto -import com.vickikbt.shared.domain.models.ErrorResponse -import com.vickikbt.shared.utils.NetworkResultState +import com.vickbt.shared.data.mappers.toDomain +import com.vickbt.shared.data.network.models.ErrorResponseDto +import com.vickbt.shared.domain.models.ErrorResponse +import com.vickbt.shared.utils.NetworkResultState import io.ktor.client.call.body import io.ktor.client.plugins.ClientRequestException import io.ktor.client.plugins.RedirectResponseException diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/di/CommonModule.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/di/CommonModule.kt similarity index 70% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/di/CommonModule.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/di/CommonModule.kt index 1488a1cc1..d7d91fb66 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/di/CommonModule.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/di/CommonModule.kt @@ -1,20 +1,20 @@ -package com.vickikbt.shared.di +package com.vickbt.shared.di -import com.vickikbt.shared.BuildKonfig -import com.vickikbt.shared.data.datasources.FavoritesRepositoryImpl -import com.vickikbt.shared.data.datasources.MovieDetailsRepositoryImpl -import com.vickikbt.shared.data.datasources.MoviesRepositoryImpl -import com.vickikbt.shared.data.datasources.SettingsRepositoryImpl -import com.vickikbt.shared.domain.repositories.FavoritesRepository -import com.vickikbt.shared.domain.repositories.MovieDetailsRepository -import com.vickikbt.shared.domain.repositories.MoviesRepository -import com.vickikbt.shared.domain.repositories.SettingsRepository -import com.vickikbt.shared.domain.utils.Constants.BASE_URL -import com.vickikbt.shared.domain.utils.Constants.URL_PATH -import com.vickikbt.shared.presentation.ui.screens.home.HomeViewModel -import com.vickikbt.shared.presentation.ui.screens.main.MainViewModel -import com.vickikbt.shared.presentation.ui.screens.settings.SettingsViewModel -import com.vickikbt.shared.ui.screens.details.DetailsViewModel +import com.vickbt.shared.BuildKonfig +import com.vickbt.shared.data.datasources.FavoritesRepositoryImpl +import com.vickbt.shared.data.datasources.MovieDetailsRepositoryImpl +import com.vickbt.shared.data.datasources.MoviesRepositoryImpl +import com.vickbt.shared.data.datasources.SettingsRepositoryImpl +import com.vickbt.shared.domain.repositories.FavoritesRepository +import com.vickbt.shared.domain.repositories.MovieDetailsRepository +import com.vickbt.shared.domain.repositories.MoviesRepository +import com.vickbt.shared.domain.repositories.SettingsRepository +import com.vickbt.shared.domain.utils.Constants.BASE_URL +import com.vickbt.shared.domain.utils.Constants.URL_PATH +import com.vickbt.shared.presentation.ui.screens.home.HomeViewModel +import com.vickbt.shared.presentation.ui.screens.main.MainViewModel +import com.vickbt.shared.presentation.ui.screens.settings.SettingsViewModel +import com.vickbt.shared.ui.screens.details.DetailsViewModel import io.github.aakira.napier.DebugAntilog import io.github.aakira.napier.Napier import io.ktor.client.HttpClient diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/di/Koin.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/di/Koin.kt similarity index 73% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/di/Koin.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/di/Koin.kt index e8ae8b45e..695268cb4 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/di/Koin.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/di/Koin.kt @@ -1,8 +1,8 @@ -package com.vickikbt.shared.di +package com.vickbt.shared.di -import com.vickikbt.shared.presentation.ui.screens.home.HomeViewModel -import com.vickikbt.shared.presentation.ui.screens.main.MainViewModel -import com.vickikbt.shared.presentation.ui.screens.settings.SettingsViewModel +import com.vickbt.shared.presentation.ui.screens.home.HomeViewModel +import com.vickbt.shared.presentation.ui.screens.main.MainViewModel +import com.vickbt.shared.presentation.ui.screens.settings.SettingsViewModel import org.koin.core.Koin import org.koin.core.KoinApplication import org.koin.core.context.startKoin diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/Actor.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/Actor.kt similarity index 82% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/Actor.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/Actor.kt index f3c64b71f..8cec87ee7 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/Actor.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/Actor.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.domain.models +package com.vickbt.shared.domain.models data class Actor( diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/Cast.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/Cast.kt similarity index 63% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/Cast.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/Cast.kt index e0eb3ae1f..2920bf53a 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/Cast.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/Cast.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.domain.models +package com.vickbt.shared.domain.models data class Cast( diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/Dates.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/Dates.kt similarity index 63% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/Dates.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/Dates.kt index 136acd7a5..816b54c43 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/Dates.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/Dates.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.domain.models +package com.vickbt.shared.domain.models data class Dates( val maximum: String?, diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/ErrorResponse.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/ErrorResponse.kt similarity index 74% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/ErrorResponse.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/ErrorResponse.kt index 07684440f..dbf02b63c 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/ErrorResponse.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/ErrorResponse.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.domain.models +package com.vickbt.shared.domain.models data class ErrorResponse( val success: Boolean, diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/Genre.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/Genre.kt similarity index 64% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/Genre.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/Genre.kt index 8b3ffdbb2..5b4bbbc8f 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/Genre.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/Genre.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.domain.models +package com.vickbt.shared.domain.models data class Genre( diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/Movie.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/Movie.kt similarity index 93% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/Movie.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/Movie.kt index 960871e25..f25be479b 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/Movie.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/Movie.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.domain.models +package com.vickbt.shared.domain.models data class Movie( val adult: Boolean? = null, diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/MovieDetails.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/MovieDetails.kt similarity index 94% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/MovieDetails.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/MovieDetails.kt index 439fb3daa..e33d2918e 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/MovieDetails.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/MovieDetails.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.domain.models +package com.vickbt.shared.domain.models data class MovieDetails( diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/MovieResults.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/MovieResults.kt similarity index 79% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/MovieResults.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/MovieResults.kt index 5d9bc69f5..ea2cbdf42 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/MovieResults.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/MovieResults.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.domain.models +package com.vickbt.shared.domain.models data class MovieResults( diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/MovieVideo.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/MovieVideo.kt similarity index 67% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/MovieVideo.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/MovieVideo.kt index 06f6cb61f..04bbd8cbf 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/MovieVideo.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/MovieVideo.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.domain.models +package com.vickbt.shared.domain.models data class MovieVideo( val id: Int? = null, diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/PopularMovies.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/PopularMovies.kt similarity index 79% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/PopularMovies.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/PopularMovies.kt index 37969b4b9..7766a1ac7 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/PopularMovies.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/PopularMovies.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.domain.models +package com.vickbt.shared.domain.models data class PopularMovies( diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/SpokenLanguage.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/SpokenLanguage.kt similarity index 75% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/SpokenLanguage.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/SpokenLanguage.kt index 839a8dc24..875698fad 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/SpokenLanguage.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/SpokenLanguage.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.domain.models +package com.vickbt.shared.domain.models data class SpokenLanguage( diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/TrendingMovies.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/TrendingMovies.kt similarity index 79% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/TrendingMovies.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/TrendingMovies.kt index 61cf1ce6b..4779c06e0 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/TrendingMovies.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/TrendingMovies.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.domain.models +package com.vickbt.shared.domain.models data class TrendingMovies( val page: Int? = null, diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/UpcomingMovies.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/UpcomingMovies.kt similarity index 82% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/UpcomingMovies.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/UpcomingMovies.kt index f2eea8698..fec2e99b3 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/UpcomingMovies.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/UpcomingMovies.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.domain.models +package com.vickbt.shared.domain.models data class UpcomingMovies( diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/Video.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/Video.kt similarity index 86% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/Video.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/Video.kt index 3d1de4fd1..879e333f8 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/models/Video.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/models/Video.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.domain.models +package com.vickbt.shared.domain.models data class Video( diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/repositories/FavoritesRepository.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/repositories/FavoritesRepository.kt similarity index 80% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/domain/repositories/FavoritesRepository.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/domain/repositories/FavoritesRepository.kt index d81228378..f440e21bf 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/repositories/FavoritesRepository.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/repositories/FavoritesRepository.kt @@ -1,6 +1,6 @@ -package com.vickikbt.shared.domain.repositories +package com.vickbt.shared.domain.repositories -import com.vickikbt.shared.domain.models.MovieDetails +import com.vickbt.shared.domain.models.MovieDetails import kotlinx.coroutines.flow.Flow interface FavoritesRepository { diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/repositories/MovieDetailsRepository.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/repositories/MovieDetailsRepository.kt similarity index 75% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/domain/repositories/MovieDetailsRepository.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/domain/repositories/MovieDetailsRepository.kt index 31edb0f80..fc6ac05d4 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/repositories/MovieDetailsRepository.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/repositories/MovieDetailsRepository.kt @@ -1,10 +1,10 @@ -package com.vickikbt.shared.domain.repositories +package com.vickbt.shared.domain.repositories -import com.vickikbt.shared.domain.models.Cast -import com.vickikbt.shared.domain.models.Movie -import com.vickikbt.shared.domain.models.MovieDetails -import com.vickikbt.shared.domain.utils.Constants.STARTING_PAGE_INDEX -import com.vickikbt.shared.utils.NetworkResultState +import com.vickbt.shared.domain.models.Cast +import com.vickbt.shared.domain.models.Movie +import com.vickbt.shared.domain.models.MovieDetails +import com.vickbt.shared.domain.utils.Constants.STARTING_PAGE_INDEX +import com.vickbt.shared.utils.NetworkResultState import kotlinx.coroutines.flow.Flow interface MovieDetailsRepository { diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/repositories/MoviesRepository.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/repositories/MoviesRepository.kt similarity index 84% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/domain/repositories/MoviesRepository.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/domain/repositories/MoviesRepository.kt index 5cd867d5b..7422ebf98 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/repositories/MoviesRepository.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/repositories/MoviesRepository.kt @@ -1,8 +1,8 @@ -package com.vickikbt.shared.domain.repositories +package com.vickbt.shared.domain.repositories -import com.vickikbt.shared.domain.models.Movie -import com.vickikbt.shared.domain.utils.Constants.STARTING_PAGE_INDEX -import com.vickikbt.shared.utils.NetworkResultState +import com.vickbt.shared.domain.models.Movie +import com.vickbt.shared.domain.utils.Constants.STARTING_PAGE_INDEX +import com.vickbt.shared.utils.NetworkResultState import kotlinx.coroutines.flow.Flow interface MoviesRepository { diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/repositories/SettingsRepository.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/repositories/SettingsRepository.kt similarity index 83% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/domain/repositories/SettingsRepository.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/domain/repositories/SettingsRepository.kt index 97f4f8ab2..63e932588 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/repositories/SettingsRepository.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/repositories/SettingsRepository.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.domain.repositories +package com.vickbt.shared.domain.repositories import kotlinx.coroutines.flow.Flow diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/utils/Constants.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/utils/Constants.kt similarity index 92% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/domain/utils/Constants.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/domain/utils/Constants.kt index 074dc02ac..b8cc8cef8 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/utils/Constants.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/utils/Constants.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.domain.utils +package com.vickbt.shared.domain.utils object Constants { diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/utils/Enums.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/utils/Enums.kt similarity index 72% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/domain/utils/Enums.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/domain/utils/Enums.kt index 00d73a2aa..f61c13b17 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/domain/utils/Enums.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/domain/utils/Enums.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.domain.utils +package com.vickbt.shared.domain.utils object Enums { enum class MovieCategories { diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/BottomNavBar.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/BottomNavBar.kt similarity index 90% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/BottomNavBar.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/BottomNavBar.kt index d89b18984..f5e45590d 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/BottomNavBar.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/BottomNavBar.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.ui.components +package com.vickbt.shared.ui.components import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.material3.Icon @@ -10,9 +10,8 @@ import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.runtime.collectAsState import androidx.compose.ui.Modifier -import androidx.compose.ui.draw.alpha -import com.vickikbt.shared.presentation.ui.navigation.NavigationItem -import com.vickikbt.shared.ui.theme.Gray +import com.vickbt.shared.presentation.ui.navigation.NavigationItem +import com.vickbt.shared.ui.theme.Gray import moe.tlaster.precompose.navigation.Navigator @Composable diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/ItemMovieCast.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/ItemMovieCast.kt similarity index 90% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/ItemMovieCast.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/ItemMovieCast.kt index 4f26c2c60..a6cd76fa1 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/ItemMovieCast.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/ItemMovieCast.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.ui.components +package com.vickbt.shared.ui.components import androidx.compose.foundation.Image import androidx.compose.foundation.layout.Arrangement @@ -18,10 +18,10 @@ import androidx.compose.ui.text.style.TextOverflow import androidx.compose.ui.unit.dp import androidx.compose.ui.unit.sp import com.seiko.imageloader.rememberImagePainter -import com.vickikbt.shared.domain.models.Actor -import com.vickikbt.shared.ui.theme.TextSecondary -import com.vickikbt.shared.utils.commonImageLoader -import com.vickikbt.shared.utils.loadImage +import com.vickbt.shared.domain.models.Actor +import com.vickbt.shared.ui.theme.TextSecondary +import com.vickbt.shared.utils.commonImageLoader +import com.vickbt.shared.utils.loadImage @Composable fun ItemMovieCast(modifier: Modifier = Modifier, actor: Actor) { diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/MovieCardLandscape.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/MovieCardLandscape.kt similarity index 91% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/MovieCardLandscape.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/MovieCardLandscape.kt index 2ba62e598..83ea8aa01 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/MovieCardLandscape.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/MovieCardLandscape.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.ui.components +package com.vickbt.shared.ui.components import androidx.compose.foundation.Image import androidx.compose.foundation.background @@ -34,15 +34,15 @@ import androidx.compose.ui.text.style.TextOverflow import androidx.compose.ui.unit.dp import androidx.compose.ui.unit.sp import com.seiko.imageloader.rememberImagePainter -import com.vickikbt.shared.domain.models.Movie -import com.vickikbt.shared.ui.components.ratingbar.RatingBar -import com.vickikbt.shared.ui.components.ratingbar.RatingBarStyle -import com.vickikbt.shared.ui.components.ratingbar.StepSize -import com.vickikbt.shared.utils.capitalizeEachWord -import com.vickikbt.shared.utils.commonImageLoader -import com.vickikbt.shared.utils.getRating -import com.vickikbt.shared.utils.getReleaseDate -import com.vickikbt.shared.utils.loadImage +import com.vickbt.shared.domain.models.Movie +import com.vickbt.shared.ui.components.ratingbar.RatingBar +import com.vickbt.shared.ui.components.ratingbar.RatingBarStyle +import com.vickbt.shared.ui.components.ratingbar.StepSize +import com.vickbt.shared.utils.capitalizeEachWord +import com.vickbt.shared.utils.commonImageLoader +import com.vickbt.shared.utils.getRating +import com.vickbt.shared.utils.getReleaseDate +import com.vickbt.shared.utils.loadImage @Composable fun MovieCardLandscape( diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/MovieCardPager.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/MovieCardPager.kt similarity index 92% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/MovieCardPager.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/MovieCardPager.kt index f6c8b5b7d..3ab20b4fd 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/MovieCardPager.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/MovieCardPager.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.ui.components +package com.vickbt.shared.ui.components import androidx.compose.foundation.Canvas import androidx.compose.foundation.ExperimentalFoundationApi @@ -34,13 +34,13 @@ import androidx.compose.ui.unit.Dp import androidx.compose.ui.unit.dp import androidx.compose.ui.unit.sp import com.seiko.imageloader.rememberImagePainter -import com.vickikbt.shared.domain.models.Movie -import com.vickikbt.shared.ui.components.ratingbar.RatingBar -import com.vickikbt.shared.ui.components.ratingbar.RatingBarStyle -import com.vickikbt.shared.ui.components.ratingbar.StepSize -import com.vickikbt.shared.utils.commonImageLoader -import com.vickikbt.shared.utils.getRating -import com.vickikbt.shared.utils.loadImage +import com.vickbt.shared.domain.models.Movie +import com.vickbt.shared.ui.components.ratingbar.RatingBar +import com.vickbt.shared.ui.components.ratingbar.RatingBarStyle +import com.vickbt.shared.ui.components.ratingbar.StepSize +import com.vickbt.shared.utils.commonImageLoader +import com.vickbt.shared.utils.getRating +import com.vickbt.shared.utils.loadImage @Composable fun MovieCardPager( diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/MovieCardPortrait.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/MovieCardPortrait.kt similarity index 74% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/MovieCardPortrait.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/MovieCardPortrait.kt index b31ce315c..b2fa18030 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/MovieCardPortrait.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/MovieCardPortrait.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.ui.components +package com.vickbt.shared.ui.components import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column @@ -6,11 +6,11 @@ import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import androidx.compose.ui.unit.dp -import com.vickikbt.shared.domain.models.Movie -import com.vickikbt.shared.ui.components.ratingbar.RatingBar -import com.vickikbt.shared.ui.components.ratingbar.RatingBarStyle -import com.vickikbt.shared.ui.components.ratingbar.StepSize -import com.vickikbt.shared.utils.getRating +import com.vickbt.shared.domain.models.Movie +import com.vickbt.shared.ui.components.ratingbar.RatingBar +import com.vickbt.shared.ui.components.ratingbar.RatingBarStyle +import com.vickbt.shared.ui.components.ratingbar.StepSize +import com.vickbt.shared.utils.getRating @Composable fun MovieCardPortrait(modifier: Modifier = Modifier, movie: Movie, onItemClick: (Movie) -> Unit) { diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/MovieCardPortraitCompact.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/MovieCardPortraitCompact.kt similarity index 93% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/MovieCardPortraitCompact.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/MovieCardPortraitCompact.kt index f1c360415..9075aab94 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/MovieCardPortraitCompact.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/MovieCardPortraitCompact.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.ui.components +package com.vickbt.shared.ui.components import androidx.compose.foundation.Image import androidx.compose.foundation.clickable @@ -23,9 +23,9 @@ import androidx.compose.ui.text.style.TextOverflow import androidx.compose.ui.unit.dp import androidx.compose.ui.unit.sp import com.seiko.imageloader.rememberImagePainter -import com.vickikbt.shared.domain.models.Movie -import com.vickikbt.shared.utils.commonImageLoader -import com.vickikbt.shared.utils.loadImage +import com.vickbt.shared.domain.models.Movie +import com.vickbt.shared.utils.commonImageLoader +import com.vickbt.shared.utils.loadImage @Composable fun MovieCardPortraitCompact( diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/MovieRatingSection.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/MovieRatingSection.kt similarity index 97% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/MovieRatingSection.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/MovieRatingSection.kt index 9c8ccf50b..632045ff4 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/MovieRatingSection.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/MovieRatingSection.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.ui.components +package com.vickbt.shared.ui.components import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column @@ -19,7 +19,7 @@ import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import androidx.compose.ui.unit.dp import androidx.compose.ui.unit.sp -import com.vickikbt.shared.ui.theme.Golden +import com.vickbt.shared.ui.theme.Golden @Composable fun MovieRatingSection(popularity: String?, voteAverage: String?) { diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/NavRailBar.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/NavRailBar.kt similarity index 91% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/NavRailBar.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/NavRailBar.kt index 4989b0ad3..03ca7b63a 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/NavRailBar.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/NavRailBar.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.ui.components +package com.vickbt.shared.ui.components import androidx.compose.foundation.layout.fillMaxHeight import androidx.compose.material3.Icon @@ -11,9 +11,9 @@ import androidx.compose.runtime.Composable import androidx.compose.runtime.collectAsState import androidx.compose.ui.Modifier import androidx.compose.ui.draw.alpha -import com.vickikbt.shared.presentation.ui.navigation.NavigationItem -import com.vickikbt.shared.ui.theme.Gray -import com.vickikbt.shared.ui.theme.PrimaryColor +import com.vickbt.shared.presentation.ui.navigation.NavigationItem +import com.vickbt.shared.ui.theme.Gray +import com.vickbt.shared.ui.theme.PrimaryColor import moe.tlaster.precompose.navigation.Navigator @Composable diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/SectionSeparator.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/SectionSeparator.kt similarity index 95% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/SectionSeparator.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/SectionSeparator.kt index 13a413850..e0db7794d 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/SectionSeparator.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/SectionSeparator.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.ui.components +package com.vickbt.shared.ui.components import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Row diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/appbars/DetailsAppBar.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/appbars/DetailsAppBar.kt similarity index 95% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/appbars/DetailsAppBar.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/appbars/DetailsAppBar.kt index 7c1e7b3fc..78b0e6cd9 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/appbars/DetailsAppBar.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/appbars/DetailsAppBar.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.ui.components.appbars +package com.vickbt.shared.ui.components.appbars import androidx.compose.animation.animateColorAsState import androidx.compose.foundation.Image @@ -39,11 +39,11 @@ import androidx.compose.ui.text.style.TextOverflow import androidx.compose.ui.unit.dp import androidx.compose.ui.unit.sp import com.seiko.imageloader.rememberImagePainter -import com.vickikbt.shared.domain.models.MovieDetails -import com.vickikbt.shared.ui.components.collapsingToolbar.CollapsingToolbarScaffoldState -import com.vickikbt.shared.utils.commonImageLoader -import com.vickikbt.shared.utils.getMovieDuration -import com.vickikbt.shared.utils.loadImage +import com.vickbt.shared.domain.models.MovieDetails +import com.vickbt.shared.ui.components.collapsingToolbar.CollapsingToolbarScaffoldState +import com.vickbt.shared.utils.commonImageLoader +import com.vickbt.shared.utils.getMovieDuration +import com.vickbt.shared.utils.loadImage @OptIn(ExperimentalMaterial3Api::class) @Composable diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/appbars/TopAppBar.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/appbars/TopAppBar.kt similarity index 95% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/appbars/TopAppBar.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/appbars/TopAppBar.kt index 676b04252..52fd942d4 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/appbars/TopAppBar.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/appbars/TopAppBar.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.ui.components.appbars +package com.vickbt.shared.ui.components.appbars import androidx.compose.foundation.layout.padding import androidx.compose.material3.ExperimentalMaterial3Api diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/collapsingToolbar/AppBarContainer.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/collapsingToolbar/AppBarContainer.kt similarity index 98% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/collapsingToolbar/AppBarContainer.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/collapsingToolbar/AppBarContainer.kt index c6143fedf..78259a84f 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/collapsingToolbar/AppBarContainer.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/collapsingToolbar/AppBarContainer.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.ui.components.collapsingToolbar +package com.vickbt.shared.ui.components.collapsingToolbar import androidx.compose.foundation.gestures.ScrollableDefaults import androidx.compose.runtime.Composable diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/collapsingToolbar/CollapsingToolbar.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/collapsingToolbar/CollapsingToolbar.kt similarity index 99% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/collapsingToolbar/CollapsingToolbar.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/collapsingToolbar/CollapsingToolbar.kt index 55d119c10..b5e44cfa6 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/collapsingToolbar/CollapsingToolbar.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/collapsingToolbar/CollapsingToolbar.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.ui.components.collapsingToolbar +package com.vickbt.shared.ui.components.collapsingToolbar import androidx.compose.animation.core.AnimationState import androidx.compose.animation.core.animateTo diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/collapsingToolbar/CollapsingToolbarScaffold.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/collapsingToolbar/CollapsingToolbarScaffold.kt similarity index 98% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/collapsingToolbar/CollapsingToolbarScaffold.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/collapsingToolbar/CollapsingToolbarScaffold.kt index f6033dc9e..81a9d3b29 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/collapsingToolbar/CollapsingToolbarScaffold.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/collapsingToolbar/CollapsingToolbarScaffold.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.ui.components.collapsingToolbar +package com.vickbt.shared.ui.components.collapsingToolbar import androidx.compose.foundation.gestures.ScrollableDefaults import androidx.compose.runtime.Composable diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/collapsingToolbar/ExperimentalToolbarApi.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/collapsingToolbar/ExperimentalToolbarApi.kt similarity index 87% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/collapsingToolbar/ExperimentalToolbarApi.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/collapsingToolbar/ExperimentalToolbarApi.kt index d079720dc..5c038cc59 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/collapsingToolbar/ExperimentalToolbarApi.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/collapsingToolbar/ExperimentalToolbarApi.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.ui.components.collapsingToolbar +package com.vickbt.shared.ui.components.collapsingToolbar @RequiresOptIn( message = "This is an experimental API of compose-collapsing-toolbar. Any declarations with " + diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/collapsingToolbar/ScrollStrategy.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/collapsingToolbar/ScrollStrategy.kt similarity index 99% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/collapsingToolbar/ScrollStrategy.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/collapsingToolbar/ScrollStrategy.kt index 0c76beedf..2066b4893 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/collapsingToolbar/ScrollStrategy.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/collapsingToolbar/ScrollStrategy.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.ui.components.collapsingToolbar +package com.vickbt.shared.ui.components.collapsingToolbar import androidx.compose.foundation.gestures.FlingBehavior import androidx.compose.runtime.MutableState diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/preferences/DialogPreferenceSelection.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/preferences/DialogPreferenceSelection.kt similarity index 98% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/preferences/DialogPreferenceSelection.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/preferences/DialogPreferenceSelection.kt index 81dde3dac..f8c07d79e 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/preferences/DialogPreferenceSelection.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/preferences/DialogPreferenceSelection.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.ui.components.preferences +package com.vickbt.shared.ui.components.preferences import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Arrangement diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/preferences/ItemPreferenceOption.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/preferences/ItemPreferenceOption.kt similarity index 96% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/preferences/ItemPreferenceOption.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/preferences/ItemPreferenceOption.kt index ff9c5e7d4..ce8111420 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/preferences/ItemPreferenceOption.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/preferences/ItemPreferenceOption.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.ui.components.preferences +package com.vickbt.shared.ui.components.preferences import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Arrangement diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/preferences/PreferencesGroup.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/preferences/PreferencesGroup.kt similarity index 97% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/preferences/PreferencesGroup.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/preferences/PreferencesGroup.kt index d440c3570..d8b59616c 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/preferences/PreferencesGroup.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/preferences/PreferencesGroup.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.ui.components.preferences +package com.vickbt.shared.ui.components.preferences import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/preferences/TextPreference.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/preferences/TextPreference.kt similarity index 98% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/preferences/TextPreference.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/preferences/TextPreference.kt index eb4812343..3c94cbd5a 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/preferences/TextPreference.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/preferences/TextPreference.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.ui.components.preferences +package com.vickbt.shared.ui.components.preferences import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Arrangement diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/ratingbar/FractionalRectangleShape.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/ratingbar/FractionalRectangleShape.kt similarity index 94% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/ratingbar/FractionalRectangleShape.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/ratingbar/FractionalRectangleShape.kt index 8b260ef3d..c348f03b5 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/ratingbar/FractionalRectangleShape.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/ratingbar/FractionalRectangleShape.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.ui.components.ratingbar +package com.vickbt.shared.ui.components.ratingbar import androidx.compose.runtime.Stable import androidx.compose.ui.geometry.Rect diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/ratingbar/PathExtensions.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/ratingbar/PathExtensions.kt similarity index 96% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/ratingbar/PathExtensions.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/ratingbar/PathExtensions.kt index f62f6c0a6..2830e837e 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/ratingbar/PathExtensions.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/ratingbar/PathExtensions.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.ui.components.ratingbar +package com.vickbt.shared.ui.components.ratingbar import androidx.compose.ui.geometry.Size import androidx.compose.ui.graphics.Path diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/ratingbar/RatingBar.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/ratingbar/RatingBar.kt similarity index 99% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/ratingbar/RatingBar.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/ratingbar/RatingBar.kt index 851a4240e..3c6edc325 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/ratingbar/RatingBar.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/ratingbar/RatingBar.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.ui.components.ratingbar +package com.vickbt.shared.ui.components.ratingbar import androidx.compose.foundation.gestures.detectHorizontalDragGestures import androidx.compose.foundation.layout.Row diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/ratingbar/RatingBarUtils.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/ratingbar/RatingBarUtils.kt similarity index 95% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/ratingbar/RatingBarUtils.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/ratingbar/RatingBarUtils.kt index e27aff613..e69481530 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/ratingbar/RatingBarUtils.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/ratingbar/RatingBarUtils.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.ui.components.ratingbar +package com.vickbt.shared.ui.components.ratingbar object RatingBarUtils { diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/ratingbar/RatingStar.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/ratingbar/RatingStar.kt similarity index 98% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/ratingbar/RatingStar.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/ratingbar/RatingStar.kt index 56ae05f16..aec7be2b2 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/components/ratingbar/RatingStar.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/components/ratingbar/RatingStar.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.ui.components.ratingbar +package com.vickbt.shared.ui.components.ratingbar import androidx.compose.foundation.Canvas import androidx.compose.foundation.layout.Box diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/navigation/Navigation.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/navigation/Navigation.kt similarity index 73% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/navigation/Navigation.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/navigation/Navigation.kt index ac7b582d7..2f7a4c49a 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/navigation/Navigation.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/navigation/Navigation.kt @@ -1,13 +1,13 @@ -package com.vickikbt.shared.ui.navigation +package com.vickbt.shared.ui.navigation import androidx.compose.foundation.layout.PaddingValues import androidx.compose.runtime.Composable -import com.vickikbt.shared.presentation.ui.navigation.NavigationItem -import com.vickikbt.shared.ui.screens.details.DetailsScreen -import com.vickikbt.shared.ui.screens.favorites.FavoritesScreen -import com.vickikbt.shared.ui.screens.home.HomeScreen -import com.vickikbt.shared.ui.screens.settings.SettingsScreen -import com.vickikbt.shared.utils.WindowSize +import com.vickbt.shared.presentation.ui.navigation.NavigationItem +import com.vickbt.shared.ui.screens.details.DetailsScreen +import com.vickbt.shared.ui.screens.favorites.FavoritesScreen +import com.vickbt.shared.ui.screens.home.HomeScreen +import com.vickbt.shared.ui.screens.settings.SettingsScreen +import com.vickbt.shared.utils.WindowSize import moe.tlaster.precompose.navigation.NavHost import moe.tlaster.precompose.navigation.Navigator import moe.tlaster.precompose.navigation.path diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/navigation/NavigationItem.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/navigation/NavigationItem.kt similarity index 92% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/navigation/NavigationItem.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/navigation/NavigationItem.kt index a11a11497..e46d85f3d 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/navigation/NavigationItem.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/navigation/NavigationItem.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.presentation.ui.navigation +package com.vickbt.shared.presentation.ui.navigation import androidx.compose.material.icons.Icons import androidx.compose.material.icons.rounded.Favorite diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/screens/details/DetailsScreen.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/screens/details/DetailsScreen.kt similarity index 90% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/screens/details/DetailsScreen.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/screens/details/DetailsScreen.kt index fb8182ba1..efd4863f7 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/screens/details/DetailsScreen.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/screens/details/DetailsScreen.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.ui.screens.details +package com.vickbt.shared.ui.screens.details import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box @@ -23,16 +23,16 @@ import androidx.compose.ui.text.style.TextAlign import androidx.compose.ui.text.style.TextOverflow import androidx.compose.ui.unit.dp import androidx.compose.ui.unit.sp -import com.vickikbt.shared.ui.components.ItemMovieCast -import com.vickikbt.shared.ui.components.MovieCardPortrait -import com.vickikbt.shared.ui.components.MovieRatingSection -import com.vickikbt.shared.ui.components.appbars.DetailsAppBar -import com.vickikbt.shared.ui.components.collapsingToolbar.CollapsingToolbarScaffold -import com.vickikbt.shared.ui.components.collapsingToolbar.ScrollStrategy -import com.vickikbt.shared.ui.components.collapsingToolbar.rememberCollapsingToolbarScaffoldState -import com.vickikbt.shared.utils.WindowSize -import com.vickikbt.shared.utils.getPopularity -import com.vickikbt.shared.utils.getRating +import com.vickbt.shared.ui.components.ItemMovieCast +import com.vickbt.shared.ui.components.MovieCardPortrait +import com.vickbt.shared.ui.components.MovieRatingSection +import com.vickbt.shared.ui.components.appbars.DetailsAppBar +import com.vickbt.shared.ui.components.collapsingToolbar.CollapsingToolbarScaffold +import com.vickbt.shared.ui.components.collapsingToolbar.ScrollStrategy +import com.vickbt.shared.ui.components.collapsingToolbar.rememberCollapsingToolbarScaffoldState +import com.vickbt.shared.utils.WindowSize +import com.vickbt.shared.utils.getPopularity +import com.vickbt.shared.utils.getRating import moe.tlaster.precompose.navigation.Navigator import org.koin.compose.koinInject diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/screens/details/DetailsViewModel.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/screens/details/DetailsViewModel.kt similarity index 90% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/screens/details/DetailsViewModel.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/screens/details/DetailsViewModel.kt index eb6ceceee..1f9733299 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/screens/details/DetailsViewModel.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/screens/details/DetailsViewModel.kt @@ -1,11 +1,11 @@ -package com.vickikbt.shared.ui.screens.details +package com.vickbt.shared.ui.screens.details -import com.vickikbt.shared.domain.models.MovieDetails -import com.vickikbt.shared.domain.repositories.MovieDetailsRepository -import com.vickikbt.shared.utils.DetailsUiState -import com.vickikbt.shared.utils.isLoading -import com.vickikbt.shared.utils.onFailure -import com.vickikbt.shared.utils.onSuccess +import com.vickbt.shared.domain.models.MovieDetails +import com.vickbt.shared.domain.repositories.MovieDetailsRepository +import com.vickbt.shared.utils.DetailsUiState +import com.vickbt.shared.utils.isLoading +import com.vickbt.shared.utils.onFailure +import com.vickbt.shared.utils.onSuccess import io.github.aakira.napier.Napier import kotlinx.coroutines.CoroutineExceptionHandler import kotlinx.coroutines.CoroutineScope diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/screens/favorites/FavoritesScreen.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/screens/favorites/FavoritesScreen.kt similarity index 90% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/screens/favorites/FavoritesScreen.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/screens/favorites/FavoritesScreen.kt index aeeda3561..e283bed13 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/screens/favorites/FavoritesScreen.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/screens/favorites/FavoritesScreen.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.ui.screens.favorites +package com.vickbt.shared.ui.screens.favorites import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.fillMaxSize @@ -12,7 +12,7 @@ import androidx.compose.ui.Modifier import androidx.compose.ui.text.font.FontWeight import androidx.compose.ui.text.style.TextAlign import androidx.compose.ui.unit.sp -import com.vickikbt.shared.ui.components.appbars.AppBar +import com.vickbt.shared.ui.components.appbars.AppBar @Composable fun FavoritesScreen() { diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/screens/home/HomeScreen.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/screens/home/HomeScreen.kt similarity index 95% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/screens/home/HomeScreen.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/screens/home/HomeScreen.kt index acd2f3f5f..e2da8c10f 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/screens/home/HomeScreen.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/screens/home/HomeScreen.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.ui.screens.home +package com.vickbt.shared.ui.screens.home import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.background @@ -45,15 +45,15 @@ import androidx.compose.ui.text.style.TextAlign import androidx.compose.ui.text.style.TextOverflow import androidx.compose.ui.unit.dp import androidx.compose.ui.unit.sp -import com.vickikbt.shared.presentation.ui.screens.home.HomeViewModel -import com.vickikbt.shared.ui.components.MovieCardLandscape -import com.vickikbt.shared.ui.components.MovieCardPager -import com.vickikbt.shared.ui.components.MovieCardPagerIndicator -import com.vickikbt.shared.ui.components.MovieCardPortraitCompact -import com.vickikbt.shared.ui.components.SectionSeparator -import com.vickikbt.shared.ui.screens.search.SearchScreen -import com.vickikbt.shared.ui.theme.DarkPrimaryColor -import com.vickikbt.shared.utils.WindowSize +import com.vickbt.shared.presentation.ui.screens.home.HomeViewModel +import com.vickbt.shared.ui.components.MovieCardLandscape +import com.vickbt.shared.ui.components.MovieCardPager +import com.vickbt.shared.ui.components.MovieCardPagerIndicator +import com.vickbt.shared.ui.components.MovieCardPortraitCompact +import com.vickbt.shared.ui.components.SectionSeparator +import com.vickbt.shared.ui.screens.search.SearchScreen +import com.vickbt.shared.ui.theme.DarkPrimaryColor +import com.vickbt.shared.utils.WindowSize import moe.tlaster.precompose.navigation.Navigator import org.koin.compose.koinInject diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/screens/home/HomeViewModel.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/screens/home/HomeViewModel.kt similarity index 91% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/screens/home/HomeViewModel.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/screens/home/HomeViewModel.kt index 9268f5c48..d7793efea 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/screens/home/HomeViewModel.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/screens/home/HomeViewModel.kt @@ -1,11 +1,11 @@ -package com.vickikbt.shared.presentation.ui.screens.home +package com.vickbt.shared.presentation.ui.screens.home -import com.vickikbt.shared.domain.repositories.MoviesRepository -import com.vickikbt.shared.utils.HomeUiState -import com.vickikbt.shared.utils.SearchUiState -import com.vickikbt.shared.utils.isLoading -import com.vickikbt.shared.utils.onFailure -import com.vickikbt.shared.utils.onSuccess +import com.vickbt.shared.domain.repositories.MoviesRepository +import com.vickbt.shared.utils.HomeUiState +import com.vickbt.shared.utils.SearchUiState +import com.vickbt.shared.utils.isLoading +import com.vickbt.shared.utils.onFailure +import com.vickbt.shared.utils.onSuccess import kotlinx.coroutines.CoroutineExceptionHandler import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Dispatchers diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/screens/main/MainScreen.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/screens/main/MainScreen.kt similarity index 84% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/screens/main/MainScreen.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/screens/main/MainScreen.kt index b18f88160..b92443fbc 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/screens/main/MainScreen.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/screens/main/MainScreen.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.ui.screens.main +package com.vickbt.shared.ui.screens.main import androidx.compose.foundation.layout.BoxWithConstraints import androidx.compose.foundation.layout.Row @@ -11,13 +11,13 @@ import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.remember import androidx.compose.runtime.setValue import androidx.compose.ui.Modifier -import com.vickikbt.shared.presentation.ui.navigation.NavigationItem -import com.vickikbt.shared.presentation.ui.screens.main.MainViewModel -import com.vickikbt.shared.ui.components.BottomNavBar -import com.vickikbt.shared.ui.components.NavRailBar -import com.vickikbt.shared.ui.navigation.Navigation -import com.vickikbt.shared.ui.theme.NotflixTheme -import com.vickikbt.shared.utils.WindowSize +import com.vickbt.shared.presentation.ui.navigation.NavigationItem +import com.vickbt.shared.presentation.ui.screens.main.MainViewModel +import com.vickbt.shared.ui.components.BottomNavBar +import com.vickbt.shared.ui.components.NavRailBar +import com.vickbt.shared.ui.navigation.Navigation +import com.vickbt.shared.ui.theme.NotflixTheme +import com.vickbt.shared.utils.WindowSize import moe.tlaster.precompose.navigation.rememberNavigator import org.koin.compose.koinInject diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/screens/main/MainViewModel.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/screens/main/MainViewModel.kt similarity index 87% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/screens/main/MainViewModel.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/screens/main/MainViewModel.kt index 6765ca5db..3ef9e1ac3 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/screens/main/MainViewModel.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/screens/main/MainViewModel.kt @@ -1,7 +1,7 @@ -package com.vickikbt.shared.presentation.ui.screens.main +package com.vickbt.shared.presentation.ui.screens.main -import com.vickikbt.shared.domain.repositories.SettingsRepository -import com.vickikbt.shared.utils.MainUiState +import com.vickbt.shared.domain.repositories.SettingsRepository +import com.vickbt.shared.utils.MainUiState import io.github.aakira.napier.Napier import kotlinx.coroutines.CoroutineExceptionHandler import kotlinx.coroutines.CoroutineScope diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/screens/search/SearchScreen.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/screens/search/SearchScreen.kt similarity index 93% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/screens/search/SearchScreen.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/screens/search/SearchScreen.kt index 5bd8f845f..1a85d8c2b 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/screens/search/SearchScreen.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/screens/search/SearchScreen.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.ui.screens.search +package com.vickbt.shared.ui.screens.search import androidx.compose.foundation.background import androidx.compose.foundation.layout.Arrangement @@ -17,9 +17,9 @@ import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import androidx.compose.ui.text.style.TextAlign import androidx.compose.ui.unit.dp -import com.vickikbt.shared.ui.components.MovieCardPortrait -import com.vickikbt.shared.utils.SearchUiState -import com.vickikbt.shared.utils.WindowSize +import com.vickbt.shared.ui.components.MovieCardPortrait +import com.vickbt.shared.utils.SearchUiState +import com.vickbt.shared.utils.WindowSize import moe.tlaster.precompose.navigation.Navigator @Composable diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/screens/settings/SettingsScreen.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/screens/settings/SettingsScreen.kt similarity index 87% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/screens/settings/SettingsScreen.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/screens/settings/SettingsScreen.kt index f70a05c95..2dc0a35ab 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/screens/settings/SettingsScreen.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/screens/settings/SettingsScreen.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.ui.screens.settings +package com.vickbt.shared.ui.screens.settings import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.padding @@ -14,13 +14,13 @@ import androidx.compose.runtime.collectAsState import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.remember import androidx.compose.ui.Modifier -import com.vickikbt.shared.domain.utils.Constants.KEY_IMAGE_QUALITY -import com.vickikbt.shared.domain.utils.Constants.KEY_THEME -import com.vickikbt.shared.presentation.ui.screens.settings.SettingsViewModel -import com.vickikbt.shared.ui.components.appbars.AppBar -import com.vickikbt.shared.ui.components.preferences.DialogPreferenceSelection -import com.vickikbt.shared.ui.components.preferences.PreferencesGroup -import com.vickikbt.shared.ui.components.preferences.TextPreference +import com.vickbt.shared.domain.utils.Constants.KEY_IMAGE_QUALITY +import com.vickbt.shared.domain.utils.Constants.KEY_THEME +import com.vickbt.shared.presentation.ui.screens.settings.SettingsViewModel +import com.vickbt.shared.ui.components.appbars.AppBar +import com.vickbt.shared.ui.components.preferences.DialogPreferenceSelection +import com.vickbt.shared.ui.components.preferences.PreferencesGroup +import com.vickbt.shared.ui.components.preferences.TextPreference import org.koin.compose.koinInject private val themeLabels = listOf("Light", "Dark", "System Default") diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/screens/settings/SettingsViewModel.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/screens/settings/SettingsViewModel.kt similarity index 91% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/screens/settings/SettingsViewModel.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/screens/settings/SettingsViewModel.kt index 091296ab1..06950f407 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/screens/settings/SettingsViewModel.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/screens/settings/SettingsViewModel.kt @@ -1,7 +1,7 @@ -package com.vickikbt.shared.presentation.ui.screens.settings +package com.vickbt.shared.presentation.ui.screens.settings -import com.vickikbt.shared.domain.repositories.SettingsRepository -import com.vickikbt.shared.utils.SettingsUiState +import com.vickbt.shared.domain.repositories.SettingsRepository +import com.vickbt.shared.utils.SettingsUiState import kotlinx.coroutines.CoroutineExceptionHandler import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Dispatchers diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/theme/Color.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/theme/Color.kt similarity index 92% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/theme/Color.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/theme/Color.kt index 47248a019..60e806f62 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/theme/Color.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/theme/Color.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.ui.theme +package com.vickbt.shared.ui.theme import androidx.compose.ui.graphics.Color diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/theme/Shape.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/theme/Shape.kt similarity index 88% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/theme/Shape.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/theme/Shape.kt index a4219993b..c4cce329e 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/theme/Shape.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/theme/Shape.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.ui.theme +package com.vickbt.shared.ui.theme import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.material3.Shapes diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/theme/Theme.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/theme/Theme.kt similarity index 96% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/ui/theme/Theme.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/ui/theme/Theme.kt index 7668d9110..df9a733da 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/theme/Theme.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/theme/Theme.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.ui.theme +package com.vickbt.shared.ui.theme import androidx.compose.foundation.isSystemInDarkTheme import androidx.compose.material3.MaterialTheme diff --git a/shared/src/commonMain/kotlin/com/vickbt/shared/ui/theme/Type.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/theme/Type.kt new file mode 100644 index 000000000..ef4e07dc5 --- /dev/null +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/ui/theme/Type.kt @@ -0,0 +1 @@ +package com.vickbt.shared.presentation.ui.theme diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/utils/CustomImageLoader.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/utils/CustomImageLoader.kt similarity index 93% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/utils/CustomImageLoader.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/utils/CustomImageLoader.kt index 40bc593b4..a7c111be8 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/utils/CustomImageLoader.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/utils/CustomImageLoader.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.utils +package com.vickbt.shared.utils import androidx.compose.runtime.Composable import androidx.compose.runtime.CompositionLocalProvider diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/utils/Extensions.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/utils/Extensions.kt similarity index 83% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/utils/Extensions.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/utils/Extensions.kt index 7b2c1e49d..3468e0806 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/utils/Extensions.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/utils/Extensions.kt @@ -1,8 +1,8 @@ -package com.vickikbt.shared.utils +package com.vickbt.shared.utils import androidx.compose.runtime.Composable import androidx.compose.runtime.collectAsState -import com.vickikbt.shared.presentation.ui.screens.settings.SettingsViewModel +import com.vickbt.shared.presentation.ui.screens.settings.SettingsViewModel import org.koin.compose.koinInject /** diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/utils/MultiplatformSettingsWrapper.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/utils/MultiplatformSettingsWrapper.kt similarity index 80% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/utils/MultiplatformSettingsWrapper.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/utils/MultiplatformSettingsWrapper.kt index b3c9c7485..976e13a3b 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/utils/MultiplatformSettingsWrapper.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/utils/MultiplatformSettingsWrapper.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.utils +package com.vickbt.shared.utils import com.russhwolf.settings.ObservableSettings diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/utils/NetworkResultState.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/utils/NetworkResultState.kt similarity index 96% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/utils/NetworkResultState.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/utils/NetworkResultState.kt index 2e31e022e..f6bbb1b69 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/utils/NetworkResultState.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/utils/NetworkResultState.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.utils +package com.vickbt.shared.utils sealed class NetworkResultState { data class Success(val data: T) : NetworkResultState() diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/utils/SharedExtensions.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/utils/SharedExtensions.kt similarity index 97% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/utils/SharedExtensions.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/utils/SharedExtensions.kt index 48cdc73be..674547bee 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/utils/SharedExtensions.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/utils/SharedExtensions.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.utils +package com.vickbt.shared.utils import kotlinx.datetime.toLocalDate diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/utils/UiStates.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/utils/UiStates.kt similarity index 85% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/utils/UiStates.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/utils/UiStates.kt index ce5de00f6..f1f90e5fb 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/utils/UiStates.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/utils/UiStates.kt @@ -1,8 +1,8 @@ -package com.vickikbt.shared.utils +package com.vickbt.shared.utils -import com.vickikbt.shared.domain.models.Actor -import com.vickikbt.shared.domain.models.Movie -import com.vickikbt.shared.domain.models.MovieDetails +import com.vickbt.shared.domain.models.Actor +import com.vickbt.shared.domain.models.Movie +import com.vickbt.shared.domain.models.MovieDetails data class MainUiState( val selectedTheme: Int? = 0 diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/utils/WindowSize.kt b/shared/src/commonMain/kotlin/com/vickbt/shared/utils/WindowSize.kt similarity index 95% rename from shared/src/commonMain/kotlin/com/vickikbt/shared/utils/WindowSize.kt rename to shared/src/commonMain/kotlin/com/vickbt/shared/utils/WindowSize.kt index a8311647c..61a014a26 100644 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/utils/WindowSize.kt +++ b/shared/src/commonMain/kotlin/com/vickbt/shared/utils/WindowSize.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.utils +package com.vickbt.shared.utils import androidx.compose.foundation.layout.BoxWithConstraintsScope import androidx.compose.runtime.Composable diff --git a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/theme/Type.kt b/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/theme/Type.kt deleted file mode 100644 index 1cba6f283..000000000 --- a/shared/src/commonMain/kotlin/com/vickikbt/shared/ui/theme/Type.kt +++ /dev/null @@ -1 +0,0 @@ -package com.vickikbt.shared.presentation.ui.theme diff --git a/shared/src/jvmMain/kotlin/com/vickikbt/shared/di/Module.kt b/shared/src/iosMain/kotlin/com/vickbt/shared/di/Module.kt similarity index 65% rename from shared/src/jvmMain/kotlin/com/vickikbt/shared/di/Module.kt rename to shared/src/iosMain/kotlin/com/vickbt/shared/di/Module.kt index d3bab9baf..44661ae07 100644 --- a/shared/src/jvmMain/kotlin/com/vickikbt/shared/di/Module.kt +++ b/shared/src/iosMain/kotlin/com/vickbt/shared/di/Module.kt @@ -1,6 +1,6 @@ -package com.vickikbt.shared.di +package com.vickbt.shared.di -import com.vickikbt.shared.utils.MultiplatformSettingsWrapper +import com.vickbt.shared.utils.MultiplatformSettingsWrapper import org.koin.core.module.Module import org.koin.dsl.module diff --git a/shared/src/iosMain/kotlin/com/vickikbt/shared/utils/CustomImageLoader.kt b/shared/src/iosMain/kotlin/com/vickbt/shared/utils/CustomImageLoader.kt similarity index 96% rename from shared/src/iosMain/kotlin/com/vickikbt/shared/utils/CustomImageLoader.kt rename to shared/src/iosMain/kotlin/com/vickbt/shared/utils/CustomImageLoader.kt index e6c0e710b..7614e581f 100644 --- a/shared/src/iosMain/kotlin/com/vickikbt/shared/utils/CustomImageLoader.kt +++ b/shared/src/iosMain/kotlin/com/vickbt/shared/utils/CustomImageLoader.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.utils +package com.vickbt.shared.utils import com.seiko.imageloader.ImageLoader import com.seiko.imageloader.component.setupDefaultComponents diff --git a/shared/src/iosMain/kotlin/com/vickikbt/shared/utils/MainViewController.kt b/shared/src/iosMain/kotlin/com/vickbt/shared/utils/MainViewController.kt similarity index 57% rename from shared/src/iosMain/kotlin/com/vickikbt/shared/utils/MainViewController.kt rename to shared/src/iosMain/kotlin/com/vickbt/shared/utils/MainViewController.kt index 9ea5ce004..e7c31a449 100644 --- a/shared/src/iosMain/kotlin/com/vickikbt/shared/utils/MainViewController.kt +++ b/shared/src/iosMain/kotlin/com/vickbt/shared/utils/MainViewController.kt @@ -1,6 +1,6 @@ -package com.vickikbt.shared.utils +package com.vickbt.shared.utils -import com.vickikbt.shared.ui.screens.main.MainScreen +import com.vickbt.shared.ui.screens.main.MainScreen import moe.tlaster.precompose.PreComposeApplication fun MainViewController() = PreComposeApplication { MainScreen() } diff --git a/shared/src/iosMain/kotlin/com/vickikbt/shared/utils/MultiplatformSettingsWrapper.kt b/shared/src/iosMain/kotlin/com/vickbt/shared/utils/MultiplatformSettingsWrapper.kt similarity index 91% rename from shared/src/iosMain/kotlin/com/vickikbt/shared/utils/MultiplatformSettingsWrapper.kt rename to shared/src/iosMain/kotlin/com/vickbt/shared/utils/MultiplatformSettingsWrapper.kt index 4c57eba49..750db6e9f 100644 --- a/shared/src/iosMain/kotlin/com/vickikbt/shared/utils/MultiplatformSettingsWrapper.kt +++ b/shared/src/iosMain/kotlin/com/vickbt/shared/utils/MultiplatformSettingsWrapper.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.utils +package com.vickbt.shared.utils import com.russhwolf.settings.AppleSettings import com.russhwolf.settings.ObservableSettings diff --git a/shared/src/iosMain/kotlin/com/vickikbt/shared/di/Module.kt b/shared/src/jvmMain/kotlin/com/vickbt/shared/di/Module.kt similarity index 65% rename from shared/src/iosMain/kotlin/com/vickikbt/shared/di/Module.kt rename to shared/src/jvmMain/kotlin/com/vickbt/shared/di/Module.kt index d3bab9baf..44661ae07 100644 --- a/shared/src/iosMain/kotlin/com/vickikbt/shared/di/Module.kt +++ b/shared/src/jvmMain/kotlin/com/vickbt/shared/di/Module.kt @@ -1,6 +1,6 @@ -package com.vickikbt.shared.di +package com.vickbt.shared.di -import com.vickikbt.shared.utils.MultiplatformSettingsWrapper +import com.vickbt.shared.utils.MultiplatformSettingsWrapper import org.koin.core.module.Module import org.koin.dsl.module diff --git a/shared/src/jvmMain/kotlin/com/vickikbt/shared/utils/CustomImageLoader.kt b/shared/src/jvmMain/kotlin/com/vickbt/shared/utils/CustomImageLoader.kt similarity index 98% rename from shared/src/jvmMain/kotlin/com/vickikbt/shared/utils/CustomImageLoader.kt rename to shared/src/jvmMain/kotlin/com/vickbt/shared/utils/CustomImageLoader.kt index 967d6c9ca..42e8189df 100644 --- a/shared/src/jvmMain/kotlin/com/vickikbt/shared/utils/CustomImageLoader.kt +++ b/shared/src/jvmMain/kotlin/com/vickbt/shared/utils/CustomImageLoader.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.utils +package com.vickbt.shared.utils import com.seiko.imageloader.ImageLoader import com.seiko.imageloader.component.setupDefaultComponents diff --git a/shared/src/jvmMain/kotlin/com/vickikbt/shared/utils/MultiplatformSettingsWrapper.kt b/shared/src/jvmMain/kotlin/com/vickbt/shared/utils/MultiplatformSettingsWrapper.kt similarity index 91% rename from shared/src/jvmMain/kotlin/com/vickikbt/shared/utils/MultiplatformSettingsWrapper.kt rename to shared/src/jvmMain/kotlin/com/vickbt/shared/utils/MultiplatformSettingsWrapper.kt index 9094816b0..f4c425857 100644 --- a/shared/src/jvmMain/kotlin/com/vickikbt/shared/utils/MultiplatformSettingsWrapper.kt +++ b/shared/src/jvmMain/kotlin/com/vickbt/shared/utils/MultiplatformSettingsWrapper.kt @@ -1,4 +1,4 @@ -package com.vickikbt.shared.utils +package com.vickbt.shared.utils import com.russhwolf.settings.JvmPreferencesSettings import com.russhwolf.settings.ObservableSettings