From 998dbc540f67336a5a8cad04385ddb818db1bd73 Mon Sep 17 00:00:00 2001 From: ItsLemmy Date: Fri, 31 Oct 2025 21:31:34 -0400 Subject: [PATCH] Autofmt --- Modules/Settings/Tabs/ColorSchemeTab.qml | 2 +- Services/MatugenTemplates.qml | 6 ++---- Services/NetworkService.qml | 5 ++--- Services/ToastService.qml | 2 +- 4 files changed, 6 insertions(+), 9 deletions(-) diff --git a/Modules/Settings/Tabs/ColorSchemeTab.qml b/Modules/Settings/Tabs/ColorSchemeTab.qml index cc01bf2f..d1e3dcd9 100644 --- a/Modules/Settings/Tabs/ColorSchemeTab.qml +++ b/Modules/Settings/Tabs/ColorSchemeTab.qml @@ -525,7 +525,7 @@ ColumnLayout { description: I18n.tr("settings.color-scheme.templates.terminal.description") defaultExpanded: false - NCheckbox { + NCheckbox { label: "Alacritty" description: ProgramCheckerService.footAvailable ? I18n.tr("settings.color-scheme.templates.terminal.alacritty.description", { "filepath": "~/.config/alacritty/themes/noctalia" diff --git a/Services/MatugenTemplates.qml b/Services/MatugenTemplates.qml index 8845ca4c..606fa1fb 100644 --- a/Services/MatugenTemplates.qml +++ b/Services/MatugenTemplates.qml @@ -103,13 +103,11 @@ Singleton { "name": "kitty", "path": "Terminal/kitty.conf", "output": "~/.config/kitty/themes/noctalia.conf" - }, - { + }, { "name": "alacritty", "path": "Terminal/alacritty.toml", "output": "~/.config/alacritty/themes/noctalia.toml" - } - ] + }] terminals.forEach(function (terminal) { if (Settings.data.templates[terminal.name]) { diff --git a/Services/NetworkService.qml b/Services/NetworkService.qml index 0c686883..b18b3c15 100644 --- a/Services/NetworkService.qml +++ b/Services/NetworkService.qml @@ -314,8 +314,7 @@ Singleton { if (result === "limited" || result === "portal") { ToastService.showWarning(cachedLastConnected, "toast.internet.limited") - } - else { + } else { scan() } } @@ -518,7 +517,7 @@ Singleton { } } environment: { - "LC_ALL": "C" + "LC_ALL": "C" } stdout: StdioCollector { diff --git a/Services/ToastService.qml b/Services/ToastService.qml index ab9466da..fd39e6ba 100644 --- a/Services/ToastService.qml +++ b/Services/ToastService.qml @@ -21,4 +21,4 @@ Singleton { function showError(message, description = "", duration = 5000) { notify(message, description, "", "error", duration) } -} \ No newline at end of file +}