|
|
|
@ -152,7 +152,6 @@ class MainActivity : AppCompatActivity() {
|
|
|
|
setContent {
|
|
|
|
setContent {
|
|
|
|
TasksTheme(theme = theme.themeBase.index) {
|
|
|
|
TasksTheme(theme = theme.themeBase.index) {
|
|
|
|
val configuration = LocalConfiguration.current
|
|
|
|
val configuration = LocalConfiguration.current
|
|
|
|
val screenWidth = configuration.screenWidthDp.dp
|
|
|
|
|
|
|
|
val navigator = rememberListDetailPaneScaffoldNavigator(
|
|
|
|
val navigator = rememberListDetailPaneScaffoldNavigator(
|
|
|
|
calculatePaneScaffoldDirective(
|
|
|
|
calculatePaneScaffoldDirective(
|
|
|
|
windowAdaptiveInfo = currentWindowAdaptiveInfo(),
|
|
|
|
windowAdaptiveInfo = currentWindowAdaptiveInfo(),
|
|
|
|
@ -160,7 +159,6 @@ class MainActivity : AppCompatActivity() {
|
|
|
|
).copy(
|
|
|
|
).copy(
|
|
|
|
horizontalPartitionSpacerSize = 0.dp,
|
|
|
|
horizontalPartitionSpacerSize = 0.dp,
|
|
|
|
verticalPartitionSpacerSize = 0.dp,
|
|
|
|
verticalPartitionSpacerSize = 0.dp,
|
|
|
|
defaultPanePreferredWidth = screenWidth / 2,
|
|
|
|
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|