Remove app name from AccountTopAppBarWithBackButton

This commit is contained in:
cketti 2024-01-26 21:38:17 +01:00
parent 65f8920039
commit eb5a40d89b

View file

@ -3,14 +3,12 @@ package app.k9mail.feature.account.common.ui
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.res.stringResource
import app.k9mail.core.ui.compose.common.annotation.PreviewDevices
import app.k9mail.core.ui.compose.designsystem.atom.button.ButtonIcon
import app.k9mail.core.ui.compose.designsystem.organism.TopAppBar
import app.k9mail.core.ui.compose.theme.Icons
import app.k9mail.core.ui.compose.theme.MainTheme
import app.k9mail.core.ui.compose.theme.PreviewWithThemes
import app.k9mail.feature.account.common.R
/**
* Top app bar for the account screens with a back button.
@ -24,7 +22,6 @@ fun AccountTopAppBarWithBackButton(
TopAppBar(
title = title,
modifier = modifier,
subtitle = stringResource(id = R.string.account_common_title),
titleContentPadding = PaddingValues(
start = MainTheme.spacings.default,
),