From 9b988989ec3dc1316c5bdfa162b6ef8cfd21beff Mon Sep 17 00:00:00 2001 From: Rubén Beltrán del Río Date: Mon, 30 Mar 2026 13:39:24 +0200 Subject: Apply some linting --- src/components/preference_pages/map.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components/preference_pages/map.rs') 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) => { -- cgit