Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified fastlane/metadata/android/en-US/images/featureGraphic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fastlane/metadata/android/en-US/images/phoneScreenshots/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fastlane/metadata/android/en-US/images/phoneScreenshots/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fastlane/metadata/android/en-US/images/phoneScreenshots/3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fastlane/metadata/android/en-US/images/phoneScreenshots/4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fastlane/metadata/android/en-US/images/phoneScreenshots/5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fastlane/metadata/android/en-US/images/phoneScreenshots/6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@ import androidx.compose.ui.tooling.preview.PreviewWrapper
import androidx.compose.ui.unit.dp
import com.materialkolor.ktx.blend
import com.shub39.rush.shared.core.dataclasses.SongDetails
import com.shub39.rush.shared.core.enums.CardColors
import com.shub39.rush.shared.core.enums.CardTheme
import com.shub39.rush.shared.core.enums.CornerRadius
import com.shub39.rush.shared.ui.LocalWindowSizeClass
import com.shub39.rush.shared.ui.RushPreviewWrapper
import com.shub39.rush.shared.ui.component.ColorPickerDialog
Expand Down Expand Up @@ -122,8 +120,8 @@ fun SharePageContent(
animateDpAsState(
targetValue =
when (state.cardRoundness) {
CornerRadius.DEFAULT -> pxToDp(0)
CornerRadius.ROUNDED -> pxToDp(32)
DEFAULT -> pxToDp(0)
ROUNDED -> pxToDp(32)
},
label = "corners",
animationSpec = MaterialTheme.motionScheme.fastEffectsSpec(),
Expand All @@ -132,9 +130,9 @@ fun SharePageContent(
animateColorAsState(
targetValue =
when (state.cardColors) {
CardColors.MUTED -> Color(state.extractedColors.cardBackgroundMuted)
CardColors.VIBRANT -> Color(state.extractedColors.cardBackgroundDominant)
CardColors.CUSTOM -> Color(state.cardBackground)
MUTED -> Color(state.extractedColors.cardBackgroundMuted)
VIBRANT -> Color(state.extractedColors.cardBackgroundDominant)
CUSTOM -> Color(state.cardBackground)
},
label = "container",
animationSpec = MaterialTheme.motionScheme.fastEffectsSpec(),
Expand All @@ -143,9 +141,9 @@ fun SharePageContent(
animateColorAsState(
targetValue =
when (state.cardColors) {
CardColors.MUTED -> Color(state.extractedColors.cardContentMuted)
CardColors.VIBRANT -> Color(state.extractedColors.cardContentDominant)
CardColors.CUSTOM -> Color(state.cardContent)
MUTED -> Color(state.extractedColors.cardContentMuted)
VIBRANT -> Color(state.extractedColors.cardContentDominant)
CUSTOM -> Color(state.cardContent)
},
label = "content",
animationSpec = MaterialTheme.motionScheme.fastEffectsSpec(),
Expand Down