refactor: replace load method with reload, returning Command

This commit is contained in:
Michael Aaron Murphy 2024-01-16 17:04:55 +01:00 committed by Michael Murphy
parent c6bf1525d8
commit 3787bf8cbc
7 changed files with 25 additions and 38 deletions

View file

@ -589,7 +589,6 @@ impl SettingsApp {
let page_command = self
.pages
.page_reload(page)
.unwrap_or(iced::Command::none())
.map(Message::PageMessage)
.map(cosmic::app::Message::App);