Coverage Summary for Class: SurferSafeInsetsKt (com.georgeci.moneysurfer.uikit.modifier)
| Class |
Class, %
|
Method, %
|
Branch, %
|
Line, %
|
Instruction, %
|
| SurferSafeInsetsKt |
100%
(1/1)
|
100%
(1/1)
|
|
100%
(3/3)
|
100%
(27/27)
|
package com.georgeci.moneysurfer.uikit.modifier
import androidx.compose.foundation.layout.WindowInsets
import androidx.compose.foundation.layout.WindowInsetsSides
import androidx.compose.foundation.layout.only
import androidx.compose.foundation.layout.safeDrawing
import androidx.compose.foundation.layout.windowInsetsPadding
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
@Composable
fun Modifier.surferSafeInsets(): Modifier = windowInsetsPadding(
WindowInsets.safeDrawing.only(
WindowInsetsSides.Top + WindowInsetsSides.Horizontal,
),
)