@file:Suppress("unused")

package ch.threema.app.compose.common.spacer

import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.size
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.res.dimensionResource
import ch.threema.app.R

// These [Spacer] composables will add more or less spacing depending on the device screen size.

@Composable
fun DynamicSpacerSize1() {
    Spacer(Modifier.size(dimensionResource(R.dimen.dynamic_grid_unit_x1)))
}

@Composable
fun DynamicSpacerSize1_5() {
    Spacer(Modifier.size(dimensionResource(R.dimen.dynamic_grid_unit_x1_5)))
}

@Composable
fun DynamicSpacerSize2() {
    Spacer(Modifier.size(dimensionResource(R.dimen.dynamic_grid_unit_x2)))
}

@Composable
fun DynamicSpacerSize3() {
    Spacer(Modifier.size(dimensionResource(R.dimen.dynamic_grid_unit_x3)))
}

@Composable
fun DynamicSpacerSize4() {
    Spacer(Modifier.size(dimensionResource(R.dimen.dynamic_grid_unit_x4)))
}

@Composable
fun DynamicSpacerSize5() {
    Spacer(Modifier.size(dimensionResource(R.dimen.dynamic_grid_unit_x5)))
}
