Skip to content

Commit

Permalink
fix grids
Browse files Browse the repository at this point in the history
  • Loading branch information
KorigamiK committed Dec 14, 2024
1 parent 88c6c18 commit 061d093
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,8 @@ import androidx.compose.ui.input.nestedscroll.NestedScrollSource
import androidx.compose.ui.input.nestedscroll.nestedScroll
import androidx.compose.ui.platform.LocalContext
import androidx.compose.ui.platform.LocalViewConfiguration
import androidx.compose.ui.platform.ViewConfiguration
import androidx.compose.ui.text.style.TextOverflow
import androidx.compose.ui.unit.dp
import com.google.accompanist.systemuicontroller.rememberSystemUiController
import de.mm20.launcher2.ui.locals.LocalNavController


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ fun GridItem(
.boundsInWindow()
.roundToIntRect()
},
size = LocalGridSettings.current.iconSize.dp - 2.dp,
size = LocalGridSettings.current.iconSize.dp,
badge = { badge },
icon = { icon },
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ fun HiddenItemsSheet(

SearchResultGrid(
items,
showList = false,
modifier = Modifier
.verticalScroll(rememberScrollState())
.padding(it)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ class DatePartProvider : PartProvider {
val verticalLayout = !compactLayout
val context = LocalContext.current
TextButton(
colors = ButtonDefaults.textButtonColors(
contentColor = LocalContentColor.current
),
colors = ButtonDefaults.textButtonColors(contentColor = MaterialTheme.colorScheme.onPrimaryContainer),
onClick = {
val startMillis = System.currentTimeMillis()
val builder = CalendarContract.CONTENT_URI.buildUpon()
Expand Down

0 comments on commit 061d093

Please sign in to comment.