From b172a8f0552c4c664df683ebf25d9e229e4e22cc Mon Sep 17 00:00:00 2001 From: Guido Schmit Date: Fri, 12 Jun 2026 21:39:03 +0200 Subject: [PATCH] fix: round dropdown menu corners via theme shapes Material 3 menus use shapes.extraSmall (4dp default) which looked boxy; bump to 14dp so all dropdown popups (view switcher, group switcher, ...) get rounded corners matching the iOS look. Co-Authored-By: Claude Fable 5 --- .../main/java/com/scarriffle/calendarr/ui/theme/Theme.kt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/src/main/java/com/scarriffle/calendarr/ui/theme/Theme.kt b/app/src/main/java/com/scarriffle/calendarr/ui/theme/Theme.kt index ff7da21..e94dd19 100644 --- a/app/src/main/java/com/scarriffle/calendarr/ui/theme/Theme.kt +++ b/app/src/main/java/com/scarriffle/calendarr/ui/theme/Theme.kt @@ -1,10 +1,13 @@ package com.scarriffle.calendarr.ui.theme +import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.material3.MaterialTheme +import androidx.compose.material3.Shapes import androidx.compose.material3.Typography import androidx.compose.material3.darkColorScheme import androidx.compose.runtime.Composable import androidx.compose.ui.graphics.Color +import androidx.compose.ui.unit.dp import com.scarriffle.calendarr.domain.model.AppSettings import com.scarriffle.calendarr.util.colorFromHex import com.scarriffle.calendarr.util.contrastingTextColor @@ -53,6 +56,9 @@ fun CalendarrTheme( MaterialTheme( colorScheme = colors, typography = Typography(), + // extraSmall drives DropdownMenu containers (default 4dp looks boxy); + // rounder popups to match the iOS look. + shapes = Shapes(extraSmall = RoundedCornerShape(14.dp)), content = content, ) }