Skip to content

Commit

Permalink
Release v1.4.0 (10400)
Browse files Browse the repository at this point in the history
  • Loading branch information
JunkFood02 committed Oct 27, 2022
1 parent a486fa7 commit 8959869
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 10 deletions.
4 changes: 4 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ apply(plugin = "dagger.hilt.android.plugin")
val versionMajor = 1
val versionMinor = 4
val versionPatch = 0
val versionBuild = 3
val isStable = false
val versionBuild = 4
val isStable = true

val composeVersion: String by rootProject.extra
val lifecycleVersion: String by rootProject.extra
Expand Down Expand Up @@ -51,7 +51,7 @@ android {
applicationId = "com.junkfood.seal"
minSdk = 23
targetSdk = 33
versionCode = 10350
versionCode = 10400
versionName = StringBuilder("${versionMajor}.${versionMinor}.${versionPatch}").apply {
if (!isStable) append("-beta.${versionBuild}")
if (!splitApks) append("-(F-Droid)")
Expand Down
15 changes: 10 additions & 5 deletions app/src/main/java/com/junkfood/seal/ui/component/VideoListItem.kt
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,14 @@ fun MediaListItem(
onCheckedChange = null
)
}
MediaImage(imageModel = imageModel, isAudio = isAudio)
MediaImage(
modifier = Modifier.weight(if (!isAudio) 0.45f else 0.25f),
imageModel = imageModel,
isAudio = isAudio
)
Column(
modifier = Modifier
.weight(if (!isAudio) 0.55f else 0.75f)
.padding(start = 12.dp, end = 12.dp)
.fillMaxWidth(),
verticalArrangement = Arrangement.Top
Expand Down Expand Up @@ -143,11 +148,11 @@ fun MediaListItem(
}

@Composable
fun MediaImage(imageModel: Any, isAudio: Boolean = false) {
fun MediaImage(modifier: Modifier = Modifier, imageModel: Any, isAudio: Boolean = false) {
AsyncImage(
modifier = Modifier
.fillMaxWidth(if (!isAudio) 0.45f else 0.25f)
.aspectRatio(if (!isAudio) 16f / 9f else 1f, matchHeightConstraintsFirst = false)
modifier = modifier
// .fillMaxWidth(if (!isAudio) 0.45f else 0.25f)
.aspectRatio(if (!isAudio) 16f / 9f else 1f, matchHeightConstraintsFirst = true)
.clip(MaterialTheme.shapes.extraSmall),
model = imageModel,
contentDescription = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,8 @@ fun VideoListPage(
}
) { innerPadding ->
val cellCount = when (LocalWindowWidthState.current) {
WindowWidthSizeClass.Compact -> 1
else -> 2
WindowWidthSizeClass.Expanded -> 2
else -> 1
}
val span: (LazyGridItemSpanScope) -> GridItemSpan = { GridItemSpan(cellCount) }
LazyVerticalGrid(
Expand Down
21 changes: 21 additions & 0 deletions fastlane/metadata/android/en-US/changelogs/10400.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Bump up youtubedl-android version, slightly optimized size of the packages

Feature Updates:

Prefer AV1 codec in video format selection
Download rate limiting
High contrast dark mode

Bug Fix:

MIUI devices bug showing the app in blank
Download finish sign when error occurred

UI Improvements:
Remove permission issue warning in download directory page
Improve UI for large screen devices

Translation Updates:
Add Basque translations by @IngrownMink4
Add Hindi translations by @rishumauryaaa
Add Malayalam translations by @akkuvijay

0 comments on commit 8959869

Please sign in to comment.