Skip to content

Commit e0cdcf6

Browse files
leandroBorgesFerreiraLeandro Ferreira
andauthored
Feeback for button in edit menu (#504)
* Adding feedback in click for edition menu * removing import * Adding feedback for selection * Code clean --------- Co-authored-by: Leandro Ferreira <[email protected]>
1 parent f39bc56 commit e0cdcf6

File tree

6 files changed

+353
-188
lines changed

6 files changed

+353
-188
lines changed

application/features/editor/src/commonMain/kotlin/io/writeopia/editor/features/editor/ui/desktop/DesktopNoteEditorScreen.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,15 +138,15 @@ fun DesktopNoteEditorScreen(
138138
}
139139

140140
SideEditorOptions(
141-
modifier = Modifier
142-
.padding(horizontal = 10.dp, vertical = 40.dp)
143-
.align(Alignment.TopEnd),
144-
isDarkTheme,
141+
modifier = Modifier.padding(horizontal = 10.dp, vertical = 40.dp),
142+
alignment = Alignment.TopEnd,
143+
isDarkTheme = isDarkTheme,
145144
fontStyleSelected = { noteEditorViewModel.fontFamily },
146145
currentModel = noteEditorViewModel.currentModel,
147146
models = noteEditorViewModel.models,
148147
isEditableState = noteEditorViewModel.isEditable,
149148
isFavorite = noteEditorViewModel.notFavorite,
149+
selectedMetadataState = noteEditorViewModel.selectionMetadataState,
150150
boldClick = noteEditorViewModel::onAddSpanClick,
151151
setEditable = noteEditorViewModel::toggleEditable,
152152
checkItemClick = noteEditorViewModel::onAddCheckListClick,

0 commit comments

Comments
 (0)