Skip to content

Commit

Permalink
Rename to LoadingPlaceholder
Browse files Browse the repository at this point in the history
  • Loading branch information
andremion committed Mar 7, 2024
1 parent 7e13b0b commit c6ab8d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package io.github.andremion.musicplayer.ui.animation
package io.github.andremion.musicplayer.ui.component

import androidx.compose.animation.core.animateFloat
import androidx.compose.animation.core.infiniteRepeatable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,8 @@ import io.github.andremion.musicplayer.presentation.discovery.DiscoveryUiEffect
import io.github.andremion.musicplayer.presentation.discovery.DiscoveryUiEvent
import io.github.andremion.musicplayer.presentation.discovery.DiscoveryUiState
import io.github.andremion.musicplayer.presentation.discovery.DiscoveryViewModel
import io.github.andremion.musicplayer.ui.animation.LoadingPlaceholder
import io.github.andremion.musicplayer.ui.animation.loadingEffect
import io.github.andremion.musicplayer.ui.component.ErrorView
import io.github.andremion.musicplayer.ui.component.LoadingPlaceholder
import io.kamel.image.KamelImage
import io.kamel.image.asyncPainterResource
import kotlinx.coroutines.flow.launchIn
Expand Down Expand Up @@ -96,9 +95,7 @@ private fun ScreenContent(
items(6) {
Card {
LoadingPlaceholder(
modifier = Modifier
.aspectRatio(1f)
.loadingEffect(),
modifier = Modifier.aspectRatio(1f)
)
}
}
Expand Down

0 comments on commit c6ab8d9

Please sign in to comment.