Skip to content

Commit

Permalink
[Release] v1.4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Konyaco committed Oct 21, 2022
1 parent d3b19e5 commit f90ba5c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ android {
applicationId = "me.konyaco.collinsdictionary"
minSdk = 21
targetSdk = 33
versionCode = 8
versionName = "1.4.5"
versionCode = 9
versionName = "1.4.6"
}

buildTypes {
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ allprojects {
}

group = "me.konyaco.collinsdictionary"
version = "1.4.5"
version = "1.4.6"
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package me.konyaco.collinsdictionary.ui

import androidx.compose.animation.*
import androidx.compose.animation.core.animateDpAsState
import androidx.compose.foundation.Image
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.foundation.layout.*
Expand Down Expand Up @@ -74,12 +75,12 @@ fun App(
ProvideSoundPlayer {
ProvideLocalScreenSize {
Surface(modifier = Modifier.fillMaxSize(), color = MaterialTheme.colors.background) {
val padding = when (LocalScreenSize.current) {
val padding by animateDpAsState(when (LocalScreenSize.current) {
ScreenSize.PHONE -> 16.dp
ScreenSize.TABLET -> 24.dp
ScreenSize.LAPTOP -> 48.dp
ScreenSize.DESKTOP -> 48.dp
}
})

Column(
modifier = Modifier.fillMaxSize(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ private fun DefinitionEntry(entry: DefinitionEntry) {

entry.definition.synonyms?.let {
Synonyms(
modifier = Modifier.padding(start = 18.dp).fillMaxWidth(),
modifier = Modifier.padding(horizontal = 18.dp).fillMaxWidth(),
words = it
)
}
Expand Down

0 comments on commit f90ba5c

Please sign in to comment.