Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit fb8830c2 authored by Wolf-Martell Montwé's avatar Wolf-Martell Montwé Committed by GitHub
Browse files

Merge pull request #8457 from rohnsha0/main

Center aligned text in the ButtonComposable in Support Thunderbird footer
parents 34baf199 150e3f96
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@ package app.k9mail.core.ui.compose.designsystem.atom.button

import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.text.style.TextAlign
import androidx.compose.material3.Button as Material3Button
import androidx.compose.material3.Text as Material3Text

@@ -17,6 +18,9 @@ fun ButtonFilled(
        modifier = modifier,
        enabled = enabled,
    ) {
        Material3Text(text = text)
        Material3Text(
            text = text,
            textAlign = TextAlign.Center
        )
    }
}