File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
app/src/main/java/com/pcapplusplus/toyvpn Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import androidx.compose.foundation.layout.height
1616import androidx.compose.foundation.layout.padding
1717import androidx.compose.foundation.layout.size
1818import androidx.compose.foundation.layout.statusBars
19+ import androidx.compose.foundation.layout.systemBars
1920import androidx.compose.foundation.layout.width
2021import androidx.compose.foundation.layout.wrapContentWidth
2122import androidx.compose.foundation.rememberScrollState
@@ -95,7 +96,10 @@ fun StatsScreen(
9596 WindowInsets .statusBars
9697 .asPaddingValues()
9798 .calculateTopPadding(),
98- bottom = 40 .dp,
99+ bottom =
100+ WindowInsets .systemBars
101+ .asPaddingValues()
102+ .calculateBottomPadding(),
99103 start = 16 .dp,
100104 end = 16 .dp,
101105 )
@@ -107,7 +111,7 @@ fun StatsScreen(
107111 modifier =
108112 Modifier
109113 .align(Alignment .CenterHorizontally )
110- .padding(bottom = 16 .dp),
114+ .padding(bottom = 16 .dp, top = 16 .dp ),
111115 )
112116
113117 StatsCard (
@@ -172,6 +176,8 @@ fun StatsScreen(
172176 Text (" Disconnect" )
173177 }
174178 }
179+
180+ Spacer (modifier = Modifier .height(16 .dp))
175181 }
176182}
177183
You can’t perform that action at this time.
0 commit comments