From a83496568f11c4e83c55de79ddb9511b26004014 Mon Sep 17 00:00:00 2001 From: EvadeMaster <93124920+EvadeMaster@users.noreply.github.com> Date: Fri, 17 Feb 2023 18:53:23 +0700 Subject: [PATCH] chore: code cleanup (#681) Improve the readability of the code. Commits: * chore: correct typos `fragement` to `fragment` * chore: put a single newline at end of file. --- .../settings_manage_api_url.dart | 0 .../settings_manage_sources.dart | 0 .../settings_update_language.dart | 0 .../settings_update_theme.dart | 0 lib/ui/views/settings/settings_view.dart | 2 +- lib/ui/views/settings/settings_viewmodel.dart | 4 ++-- lib/ui/widgets/settingsView/settings_advanced_section.dart | 4 ++-- 7 files changed, 5 insertions(+), 5 deletions(-) rename lib/ui/views/settings/{settingsFragement => settingsFragment}/settings_manage_api_url.dart (100%) rename lib/ui/views/settings/{settingsFragement => settingsFragment}/settings_manage_sources.dart (100%) rename lib/ui/views/settings/{settingsFragement => settingsFragment}/settings_update_language.dart (100%) rename lib/ui/views/settings/{settingsFragement => settingsFragment}/settings_update_theme.dart (100%) diff --git a/lib/ui/views/settings/settingsFragement/settings_manage_api_url.dart b/lib/ui/views/settings/settingsFragment/settings_manage_api_url.dart similarity index 100% rename from lib/ui/views/settings/settingsFragement/settings_manage_api_url.dart rename to lib/ui/views/settings/settingsFragment/settings_manage_api_url.dart diff --git a/lib/ui/views/settings/settingsFragement/settings_manage_sources.dart b/lib/ui/views/settings/settingsFragment/settings_manage_sources.dart similarity index 100% rename from lib/ui/views/settings/settingsFragement/settings_manage_sources.dart rename to lib/ui/views/settings/settingsFragment/settings_manage_sources.dart diff --git a/lib/ui/views/settings/settingsFragement/settings_update_language.dart b/lib/ui/views/settings/settingsFragment/settings_update_language.dart similarity index 100% rename from lib/ui/views/settings/settingsFragement/settings_update_language.dart rename to lib/ui/views/settings/settingsFragment/settings_update_language.dart diff --git a/lib/ui/views/settings/settingsFragement/settings_update_theme.dart b/lib/ui/views/settings/settingsFragment/settings_update_theme.dart similarity index 100% rename from lib/ui/views/settings/settingsFragement/settings_update_theme.dart rename to lib/ui/views/settings/settingsFragment/settings_update_theme.dart diff --git a/lib/ui/views/settings/settings_view.dart b/lib/ui/views/settings/settings_view.dart index 01d461e1..d19addd6 100644 --- a/lib/ui/views/settings/settings_view.dart +++ b/lib/ui/views/settings/settings_view.dart @@ -3,7 +3,7 @@ import 'package:flutter/material.dart'; import 'package:flutter_i18n/flutter_i18n.dart'; import 'package:google_fonts/google_fonts.dart'; -import 'package:revanced_manager/ui/views/settings/settingsFragement/settings_update_theme.dart'; +import 'package:revanced_manager/ui/views/settings/settingsFragment/settings_update_theme.dart'; import 'package:revanced_manager/ui/views/settings/settings_viewmodel.dart'; import 'package:revanced_manager/ui/widgets/settingsView/settings_advanced_section.dart'; import 'package:revanced_manager/ui/widgets/settingsView/settings_export_section.dart'; diff --git a/lib/ui/views/settings/settings_viewmodel.dart b/lib/ui/views/settings/settings_viewmodel.dart index 502b7a1e..48d41c76 100644 --- a/lib/ui/views/settings/settings_viewmodel.dart +++ b/lib/ui/views/settings/settings_viewmodel.dart @@ -9,8 +9,8 @@ import 'package:revanced_manager/app/app.router.dart'; import 'package:revanced_manager/services/manager_api.dart'; import 'package:revanced_manager/services/toast.dart'; import 'package:revanced_manager/ui/views/patcher/patcher_viewmodel.dart'; -import 'package:revanced_manager/ui/views/settings/settingsFragement/settings_update_language.dart'; -import 'package:revanced_manager/ui/views/settings/settingsFragement/settings_update_theme.dart'; +import 'package:revanced_manager/ui/views/settings/settingsFragment/settings_update_language.dart'; +import 'package:revanced_manager/ui/views/settings/settingsFragment/settings_update_theme.dart'; import 'package:sentry_flutter/sentry_flutter.dart'; import 'package:share_extend/share_extend.dart'; import 'package:stacked/stacked.dart'; diff --git a/lib/ui/widgets/settingsView/settings_advanced_section.dart b/lib/ui/widgets/settingsView/settings_advanced_section.dart index 73a4de55..2dda210e 100644 --- a/lib/ui/widgets/settingsView/settings_advanced_section.dart +++ b/lib/ui/widgets/settingsView/settings_advanced_section.dart @@ -2,8 +2,8 @@ import 'package:flutter/material.dart'; import 'package:flutter_i18n/widgets/I18nText.dart'; -import 'package:revanced_manager/ui/views/settings/settingsFragement/settings_manage_api_url.dart'; -import 'package:revanced_manager/ui/views/settings/settingsFragement/settings_manage_sources.dart'; +import 'package:revanced_manager/ui/views/settings/settingsFragment/settings_manage_api_url.dart'; +import 'package:revanced_manager/ui/views/settings/settingsFragment/settings_manage_sources.dart'; import 'package:revanced_manager/ui/views/settings/settings_viewmodel.dart'; import 'package:revanced_manager/ui/widgets/settingsView/settings_experimental_patches.dart'; import 'package:revanced_manager/ui/widgets/settingsView/settings_experimental_universal_patches.dart';