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

Commit fd9ce7df authored by Rohan Shaw's avatar Rohan Shaw
Browse files

center aligned text in the ButtonComposable in Support Thunderbird footer

parent 091e3676
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
        )
    }
}