diff options
| author | Rubén Beltrán del Río <jj@r.bdr.sh> | 2026-03-30 13:39:24 +0200 |
|---|---|---|
| committer | Rubén Beltrán del Río <jj@r.bdr.sh> | 2026-03-30 13:45:00 +0200 |
| commit | 9b988989ec3dc1316c5bdfa162b6ef8cfd21beff (patch) | |
| tree | 0e7ce77dda423add1fc09f1dd2df2b3c2ee13478 /src/components/preference_pages/map.rs | |
| parent | d01a4df546b553128400f6c68eefa8368b4113a8 (diff) | |
Apply some linting
Diffstat (limited to 'src/components/preference_pages/map.rs')
| -rw-r--r-- | src/components/preference_pages/map.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/preference_pages/map.rs b/src/components/preference_pages/map.rs index abeabf9..5ec59e1 100644 --- a/src/components/preference_pages/map.rs +++ b/src/components/preference_pages/map.rs @@ -190,11 +190,11 @@ impl SimpleComponent for Map { MapAction::SetUseCustomFont(use_custom_font) => self.use_custom_font = use_custom_font, MapAction::SetShowBackground(show_background) => self.show_background = show_background, MapAction::SetUseSmartLabelPositioning(use_smart_label_positioning) => { - self.use_smart_label_positioning = use_smart_label_positioning + self.use_smart_label_positioning = use_smart_label_positioning; } MapAction::SetCustomFont(custom_font) => self.custom_font = custom_font, MapAction::SetDefaultExportFormat(default_export_format) => { - self.default_export_format = default_export_format + self.default_export_format = default_export_format; } MapAction::ChangeFontDescription(button) => { |