Skip to content

Commit

Permalink
Handle e2e in the samples
Browse files Browse the repository at this point in the history
  • Loading branch information
bentrengrove committed Dec 11, 2024
1 parent 770d93f commit 167b8a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sample/src/main/java/com/google/accompanist/sample/Theme.kt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.safeDrawingPadding
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Surface
import androidx.compose.material3.darkColorScheme
Expand All @@ -39,7 +40,7 @@ fun AccompanistSample(
modifier = Modifier.fillMaxSize()
) {
Box(
modifier = Modifier.padding(contentPadding),
modifier = Modifier.padding(contentPadding).safeDrawingPadding(),
propagateMinConstraints = true
) {
content()
Expand Down

0 comments on commit 167b8a7

Please sign in to comment.