Skip to content

Commit

Permalink
Update project
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbel committed Nov 29, 2024
1 parent 7350240 commit 8b140ca
Show file tree
Hide file tree
Showing 57 changed files with 5 additions and 27 deletions.
21 changes: 0 additions & 21 deletions .run/desktopApp.run.xml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import org.michaelbel.movies.common.ktx.isTimePasses
import org.michaelbel.movies.common.ktx.notificationManager
import org.michaelbel.movies.interactor.Interactor
import org.michaelbel.movies.notifications.model.MoviesPush
import org.michaelbel.movies.notifications.R
import org.michaelbel.movies.ui.icons.MoviesAndroidIcons
import java.util.concurrent.TimeUnit

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package org.michaelbel.movies.persistence.database.di
import androidx.room.Room
import androidx.room.RoomDatabase
import androidx.sqlite.driver.bundled.BundledSQLiteDriver
import java.io.File
import org.koin.dsl.module
import org.michaelbel.movies.persistence.database.db.AppDatabase
import java.io.File

actual val roomDatabaseBuilderModule = module {
factory<RoomDatabase.Builder<AppDatabase>> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ import androidx.compose.animation.core.Transition
import androidx.compose.animation.core.animateFloat
import androidx.compose.animation.core.infiniteRepeatable
import androidx.compose.animation.core.rememberInfiniteTransition
import androidx.compose.animation.core.rememberTransition
import androidx.compose.animation.core.spring
import androidx.compose.animation.core.tween
import androidx.compose.animation.core.updateTransition
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableFloatStateOf
Expand Down Expand Up @@ -129,7 +129,7 @@ fun Modifier.placeholder(
val transitionState = remember { MutableTransitionState(visible) }.apply {
targetState = visible
}
val transition = updateTransition(transitionState, "placeholder_crossfade")
val transition = rememberTransition(transitionState, "placeholder_crossfade")

val placeholderAlpha by transition.animateFloat(
transitionSpec = placeholderFadeTransitionSpec,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import androidx.compose.runtime.State
import androidx.compose.runtime.collectAsState
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.LifecycleOwner
import kotlin.coroutines.CoroutineContext
import kotlinx.coroutines.flow.StateFlow
import kotlin.coroutines.CoroutineContext

@Composable
actual fun <T> StateFlow<T>.collectAsStateCommon(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ fun AuthRoute(
loginLoading = false,
requestToken = null,
onBackClick = onBackClick,
onSignInClick = { username, password -> },
onSignInClick = { _, _ -> },
onLoginClick = {},
onResetRequestToken = {},
onUrlClick = {},
Expand Down

0 comments on commit 8b140ca

Please sign in to comment.