mirror of https://github.com/readrops/Readrops.git
Disable Update feed color option in FeedBottomSheet
This commit is contained in:
parent
eca565ca07
commit
7b3920374e
|
@ -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
|
||||
|
|
|
@ -40,7 +40,7 @@ fun FeedModalBottomSheet(
|
|||
onDismissRequest: () -> Unit,
|
||||
onOpen: () -> Unit,
|
||||
onUpdate: () -> Unit,
|
||||
onUpdateColor: () -> Unit,
|
||||
//onUpdateColor: () -> Unit,
|
||||
onDelete: () -> Unit,
|
||||
canUpdateFeed: Boolean,
|
||||
canDeleteFeed: Boolean
|
||||
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue