diff --git a/app/src/main/kotlin/com/mateusrodcosta/apps/share2storage/screens/MainScreen.kt b/app/src/main/kotlin/com/mateusrodcosta/apps/share2storage/screens/MainScreen.kt index 3a09e9e..031764a 100644 --- a/app/src/main/kotlin/com/mateusrodcosta/apps/share2storage/screens/MainScreen.kt +++ b/app/src/main/kotlin/com/mateusrodcosta/apps/share2storage/screens/MainScreen.kt @@ -23,7 +23,9 @@ import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row +import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxSize +import androidx.compose.foundation.layout.height import androidx.compose.foundation.layout.padding import androidx.compose.foundation.rememberScrollState import androidx.compose.foundation.verticalScroll @@ -56,7 +58,6 @@ import androidx.compose.ui.tooling.preview.Preview import androidx.compose.ui.unit.dp import androidx.navigation.NavController import com.mateusrodcosta.apps.share2storage.R -import com.mateusrodcosta.apps.share2storage.screens.shared.AppBasicDivider import com.mateusrodcosta.apps.share2storage.screens.shared.AppListHeader import com.mateusrodcosta.apps.share2storage.screens.shared.ListItemWithURL import com.mateusrodcosta.apps.share2storage.screens.shared.shouldShowLandscape @@ -145,7 +146,7 @@ fun HowToUsePortrait() { modifier = Modifier .fillMaxSize() .verticalScroll(rememberScrollState()), - horizontalAlignment = Alignment.CenterHorizontally, + verticalArrangement = Arrangement.Center, ) { HowToUseHeader() HowToUseContent() @@ -189,7 +190,7 @@ fun HowToUseContent(isLandscape: Boolean = false) { ) HowToUseRow(3, stringResource(R.string.how_to_use_step_3)) HowToUseRow(4, stringResource(R.string.how_to_use_step_4)) - AppBasicDivider() + Spacer(modifier = Modifier.height(16.dp)) AppListHeader(title = stringResource(R.string.donation_title)) ListItemWithURL( stringResource(R.string.donation_content),