note: remove unnecessary derive macros from NoteAction

Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
kernelkind
2025-04-29 13:04:50 -04:00
parent b9e2daf47a
commit e6212e5d17
4 changed files with 8 additions and 12 deletions

View File

@@ -442,8 +442,8 @@ impl<'a, 'd> NoteView<'a, 'd> {
ui.add(&mut contents);
if let Some(action) = contents.action() {
note_action = Some(action.clone());
if let Some(action) = contents.action {
note_action = Some(action);
}
if self.options().has_actionbar() {
@@ -506,8 +506,8 @@ impl<'a, 'd> NoteView<'a, 'd> {
);
ui.add(&mut contents);
if let Some(action) = contents.action() {
note_action = Some(action.clone());
if let Some(action) = contents.action {
note_action = Some(action);
}
if self.options().has_actionbar() {