Skip to content

Commit

Permalink
Tweak MainScreen layout
Browse files Browse the repository at this point in the history
  • Loading branch information
MateusRodCosta committed Oct 11, 2024
1 parent 2406c5a commit 3a9fab0
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -145,7 +146,7 @@ fun HowToUsePortrait() {
modifier = Modifier
.fillMaxSize()
.verticalScroll(rememberScrollState()),
horizontalAlignment = Alignment.CenterHorizontally,
verticalArrangement = Arrangement.Center,
) {
HowToUseHeader()
HowToUseContent()
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit 3a9fab0

Please sign in to comment.