0.2.90
This commit is contained in:
@@ -64,7 +64,7 @@ val projectNoticeText =
|
|||||||
|
|
||||||
// A release workflow can derive the app version from its Git tag without editing the
|
// A release workflow can derive the app version from its Git tag without editing the
|
||||||
// source tree. Local builds keep using the checked-in default.
|
// source tree. Local builds keep using the checked-in default.
|
||||||
val defaultVersionName = "0.2.89"
|
val defaultVersionName = "0.2.90"
|
||||||
val membyVersionName: String =
|
val membyVersionName: String =
|
||||||
(project.findProperty("memby.versionName") as String?)
|
(project.findProperty("memby.versionName") as String?)
|
||||||
?.trim()
|
?.trim()
|
||||||
|
|||||||
@@ -1630,7 +1630,7 @@ internal val HomeRowHeaderIconGap = 10.dp
|
|||||||
internal val HomeRowHeaderSpacing = 10.dp
|
internal val HomeRowHeaderSpacing = 10.dp
|
||||||
|
|
||||||
private val HomeRowCardsTopPadding = 12.dp
|
private val HomeRowCardsTopPadding = 12.dp
|
||||||
private val HomeRowCardsBottomPadding = 24.dp
|
private val HomeRowCardsBottomPadding = 32.dp
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
internal fun HomeRowHeaderIcon(icon: ImageVector, modifier: Modifier = Modifier) {
|
internal fun HomeRowHeaderIcon(icon: ImageVector, modifier: Modifier = Modifier) {
|
||||||
|
|||||||
@@ -1407,7 +1407,7 @@ internal fun HomeScreen(
|
|||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.weight(1f)
|
.weight(1f)
|
||||||
.fillMaxWidth(),
|
.fillMaxWidth(),
|
||||||
contentPadding = PaddingValues(bottom = 128.dp),
|
contentPadding = PaddingValues(bottom = 156.dp),
|
||||||
verticalArrangement = Arrangement.spacedBy(20.dp),
|
verticalArrangement = Arrangement.spacedBy(20.dp),
|
||||||
) {
|
) {
|
||||||
if (selectedDestination == BrowseDestination.SHOWS) {
|
if (selectedDestination == BrowseDestination.SHOWS) {
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
package com.ponzischeme89.memby.ui
|
package com.ponzischeme89.memby.ui
|
||||||
|
|
||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
|
import com.ponzischeme89.memby.data.model.BaseItem
|
||||||
|
import com.ponzischeme89.memby.ui.theme.FactSeparator
|
||||||
import org.junit.Assert.assertEquals
|
import org.junit.Assert.assertEquals
|
||||||
import org.junit.Assert.assertTrue
|
import org.junit.Assert.assertTrue
|
||||||
import org.junit.Test
|
import org.junit.Test
|
||||||
@@ -59,11 +61,11 @@ class ResponsiveRowSizingTest {
|
|||||||
name = "The Last Horizon",
|
name = "The Last Horizon",
|
||||||
type = "Movie",
|
type = "Movie",
|
||||||
productionYear = 2026,
|
productionYear = 2026,
|
||||||
runtimeMinutes = 124,
|
runTimeTicks = 124L * 600_000_000L,
|
||||||
membyRecommendationReason = "Matches your Drama viewing · fits your 60-minute window",
|
membyRecommendationReason = "Matches your Drama viewing · fits your 60-minute window",
|
||||||
)
|
)
|
||||||
|
|
||||||
assertEquals("2026 • 2h 4m", defaultCardSubtitle(item))
|
assertEquals("2026${FactSeparator}2h 4m", defaultCardSubtitle(item))
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|||||||
Reference in New Issue
Block a user