Satisfy rustfmt and clippy on the album and folder picker changes
rustfmt over the files the albums work touched, and the album merge's incoming row as a named struct rather than an eight-field tuple, which clippy's type_complexity refused.
This commit is contained in:
@@ -506,7 +506,14 @@ fn wire_options(window: &AppWindow, ctl: &Rc<ImportController>) {
|
||||
let ctl = ctl.clone();
|
||||
window.on_import_choose_backup(move || {
|
||||
let Some(w) = weak.upgrade() else { return };
|
||||
let start = ctl.settings.settings.borrow().import.backup.trim().to_string();
|
||||
let start = ctl
|
||||
.settings
|
||||
.settings
|
||||
.borrow()
|
||||
.import
|
||||
.backup
|
||||
.trim()
|
||||
.to_string();
|
||||
let (weak, ctl) = (weak.clone(), ctl.clone());
|
||||
crate::folder_dialog::ask(
|
||||
&w,
|
||||
|
||||
Reference in New Issue
Block a user