remove redundant closures
This commit is contained in:
parent
6cb69bc63b
commit
3d81eb874f
4 changed files with 5 additions and 5 deletions
|
|
@ -956,7 +956,7 @@ impl cosmic::Application for CosmicAppList {
|
|||
}
|
||||
})
|
||||
.on_motion(if self.dnd_offer.is_some() {
|
||||
|x, y| Message::DndMotion(x, y)
|
||||
Message::DndMotion
|
||||
} else {
|
||||
|_, _| Message::Ignore
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue