Skip to content

Commit

Permalink
Disable Update feed color option in FeedBottomSheet
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinokuni committed Aug 14, 2024
1 parent eca565c commit 7b39203
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion app/src/main/java/com/readrops/app/feeds/FeedTab.kt
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,6 @@ object FeedTab : Tab {
onUpdate = {
screenModel.openDialog(DialogState.UpdateFeed(dialog.feed, dialog.folder))
},
onUpdateColor = {},
onDelete = { screenModel.openDialog(DialogState.DeleteFeed(dialog.feed)) },
canUpdateFeed = dialog.config.canUpdateFeed,
canDeleteFeed = dialog.config.canDeleteFeed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ fun FeedModalBottomSheet(
onDismissRequest: () -> Unit,
onOpen: () -> Unit,
onUpdate: () -> Unit,
onUpdateColor: () -> Unit,
//onUpdateColor: () -> Unit,
onDelete: () -> Unit,
canUpdateFeed: Boolean,
canDeleteFeed: Boolean
Expand Down Expand Up @@ -110,11 +110,11 @@ fun FeedModalBottomSheet(
)
}

BottomSheetOption(
/*BottomSheetOption(
text = stringResource(R.string.update_color),
icon = ImageVector.vectorResource(R.drawable.ic_color),
onClick = onUpdateColor
)
)*/

if (canDeleteFeed) {
BottomSheetOption(
Expand Down

0 comments on commit 7b39203

Please sign in to comment.