Remove app name from AccountTopAppBar

This commit is contained in:
cketti 2024-01-23 16:33:32 +01:00
parent 3fdd1b7963
commit e895c55cce

View file

@ -3,12 +3,10 @@ package app.k9mail.feature.account.common.ui
import androidx.compose.foundation.layout.PaddingValues import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.runtime.Composable import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier 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.common.annotation.PreviewDevices
import app.k9mail.core.ui.compose.designsystem.organism.TopAppBar import app.k9mail.core.ui.compose.designsystem.organism.TopAppBar
import app.k9mail.core.ui.compose.theme.MainTheme import app.k9mail.core.ui.compose.theme.MainTheme
import app.k9mail.core.ui.compose.theme.PreviewWithThemes import app.k9mail.core.ui.compose.theme.PreviewWithThemes
import app.k9mail.feature.account.common.R
/** /**
* Top app bar for the account screens. * Top app bar for the account screens.
@ -21,7 +19,6 @@ fun AccountTopAppBar(
TopAppBar( TopAppBar(
title = title, title = title,
modifier = modifier, modifier = modifier,
subtitle = stringResource(id = R.string.account_common_title),
titleContentPadding = PaddingValues( titleContentPadding = PaddingValues(
start = MainTheme.spacings.double, start = MainTheme.spacings.double,
), ),