code: Reformat with Rust 2024 edition
This commit is contained in:
parent
2a8a13fd01
commit
4439499cda
15 changed files with 30 additions and 29 deletions
|
|
@ -44,8 +44,8 @@ impl imp::LpImage {
|
|||
self.file.replace(Some(new_file.clone()));
|
||||
self.reload_file_info().await;
|
||||
|
||||
// Reload if file extension changed since other decoding path might be responsible
|
||||
// now
|
||||
// Reload if file extension changed since other decoding path might be
|
||||
// responsible now
|
||||
if old_filename_ext != new_filename_ext {
|
||||
obj.load(new_file).await;
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -168,7 +168,9 @@ impl WidgetImpl for imp::LpImage {
|
|||
log::trace!("Small monitor detected: Using {SMALL_OCCUPY_SCREEN} screen area");
|
||||
SMALL_OCCUPY_SCREEN
|
||||
} else {
|
||||
log::trace!("Sufficiently large monitor detected: Using {DEFAULT_OCCUPY_SCREEN} screen area");
|
||||
log::trace!(
|
||||
"Sufficiently large monitor detected: Using {DEFAULT_OCCUPY_SCREEN} screen area"
|
||||
);
|
||||
DEFAULT_OCCUPY_SCREEN
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue