Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
Improve the time picker UI
Browse files Browse the repository at this point in the history
  • Loading branch information
ILIYANGERMANOV committed Aug 31, 2024
1 parent 1b09aa9 commit 4ac861c
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.ivy.ui.time.impl

import androidx.compose.foundation.layout.padding
import androidx.compose.material3.Button
import androidx.compose.material3.DatePicker
import androidx.compose.material3.DatePickerDialog
Expand All @@ -15,6 +16,7 @@ import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.compose.ui.Modifier
import androidx.compose.ui.unit.dp
import com.ivy.base.time.TimeConverter
import com.ivy.base.time.TimeProvider
import java.time.Instant
Expand Down Expand Up @@ -92,7 +94,10 @@ class AndroidDateTimePicker @Inject constructor(
)
}
) {
TimePicker(state = pickerState)
TimePicker(
modifier = Modifier.padding(16.dp),
state = pickerState
)
}
}

Expand Down

0 comments on commit 4ac861c

Please sign in to comment.