mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 13:08:46 +00:00
Update remote backups settings to align with design.
This commit is contained in:
committed by
Greyson Parrelli
parent
6a77631b09
commit
b073005ff9
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* Copyright 2024 Signal Messenger, LLC
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
package org.signal.core.ui
|
||||
|
||||
import androidx.compose.foundation.layout.padding
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.res.dimensionResource
|
||||
import androidx.compose.ui.unit.Dp
|
||||
|
||||
/**
|
||||
* Applies sensible horizontal padding to the given component.
|
||||
*/
|
||||
@Composable
|
||||
fun Modifier.horizontalGutters(
|
||||
gutterSize: Dp = dimensionResource(R.dimen.core_ui__gutter)
|
||||
): Modifier {
|
||||
return padding(horizontal = gutterSize)
|
||||
}
|
||||
Reference in New Issue
Block a user