Skip to content

Commit

Permalink
Disable descriptions for now
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed Nov 4, 2023
1 parent 31d8a2a commit 831fe28
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 0 additions & 2 deletions app/shared/src/commonMain/kotlin/components/SearchBar.kt
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,8 @@ import kotlin.time.Duration.Companion.milliseconds

typealias SoundUpdater = (List<Sound>) -> Unit

@OptIn(ExperimentalComposeUiApi::class)
private val protectedKeys = listOf(Key.Enter, Key.DirectionUp, Key.DirectionDown)

@OptIn(ExperimentalComposeUiApi::class, ExperimentalAnimationApi::class)
@Composable
fun SearchBarScope(updateSounds: SoundUpdater, content: @Composable () -> Unit) {
var onlineMine by remember { mutableStateOf(false) }
Expand Down
5 changes: 3 additions & 2 deletions app/shared/src/commonMain/kotlin/components/SoundContainer.kt
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@ fun SoundCard(
}
}
}
if (description != null && hovered && !playing) {
// TODO: find better way to display descriptions
/* if (description != null && hovered && !playing) {
Box(
modifier = Modifier
.clip(RoundedCornerShape(10.dp))
Expand All @@ -187,5 +188,5 @@ fun SoundCard(
) {
Text(description, color = ColorScheme.textColor)
}
}
}*/
}
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {

allprojects {
group = "dev.schlaubi.tonbrett"
version = "1.16.11"
version = "1.16.12"

repositories {
mavenCentral()
Expand Down

0 comments on commit 831fe28

Please sign in to comment.