Skip to content

Commit 4207694

Browse files
committed
fix: remove drawer button
1 parent dc44dba commit 4207694

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

app/src/main/java/to/bitkit/ui/screens/widgets/headlines/HeadlinesEditScreen.kt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ import to.bitkit.ui.components.PrimaryButton
3131
import to.bitkit.ui.components.SecondaryButton
3232
import to.bitkit.ui.components.Title
3333
import to.bitkit.ui.scaffold.AppTopBar
34-
import to.bitkit.ui.scaffold.DrawerNavIcon
3534
import to.bitkit.ui.scaffold.ScreenColumn
3635
import to.bitkit.ui.theme.AppThemeSurface
3736
import to.bitkit.ui.theme.Colors
@@ -40,7 +39,7 @@ import to.bitkit.ui.theme.Colors
4039
fun HeadlinesEditScreen(
4140
headlinesViewModel: HeadlinesViewModel,
4241
onBack: () -> Unit,
43-
navigatePreview: () -> Unit
42+
navigatePreview: () -> Unit,
4443
) {
4544
val customHeadlinePreferences by headlinesViewModel.customPreferences.collectAsStateWithLifecycle()
4645
val article by headlinesViewModel.currentArticle.collectAsStateWithLifecycle()
@@ -72,7 +71,7 @@ fun HeadlinesEditContent(
7271
onClickPreview: () -> Unit,
7372
onClickShowSource: () -> Unit,
7473
headlinePreferences: HeadlinePreferences,
75-
article: ArticleModel
74+
article: ArticleModel,
7675
) {
7776
ScreenColumn(
7877
noBackground = true,
@@ -83,7 +82,6 @@ fun HeadlinesEditContent(
8382
AppTopBar(
8483
titleText = stringResource(R.string.widgets__news__name),
8584
onBackClick = onBack,
86-
actions = { DrawerNavIcon() },
8785
)
8886

8987
Column(

0 commit comments

Comments
 (0)