File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
calendar/src/main/java/com/maxkeppeler/sheets/calendar/views Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ internal fun CalendarTopComponent(
105105 colors = IconButtonDefaults .filledIconButtonColors(containerColor = MaterialTheme .colorScheme.secondaryContainer),
106106 modifier = Modifier
107107 .size(dimensionResource(RC .dimen.scd_size_200)),
108+ enabled = ! navigationDisabled && ! prevDisabled,
108109 onClick = onPrev
109110 ) {
110111 Icon (
@@ -191,6 +192,7 @@ internal fun CalendarTopComponent(
191192 FilledIconButton (
192193 colors = IconButtonDefaults .filledIconButtonColors(containerColor = MaterialTheme .colorScheme.secondaryContainer),
193194 modifier = Modifier .size(dimensionResource(RC .dimen.scd_size_200)),
195+ enabled = ! navigationDisabled && ! nextDisabled,
194196 onClick = onNext
195197 ) {
196198 Icon (
You can’t perform that action at this time.
0 commit comments