chore: some refactoring

This commit is contained in:
Josia Pietsch 2024-08-05 15:30:39 +02:00
parent 888dc032c1
commit 0553d5eb4c
Signed by: jrpie
GPG key ID: E70B571D66986A2D
7 changed files with 8 additions and 54 deletions

View file

@ -58,7 +58,7 @@ class SettingsFragmentLauncher : Fragment(), UIObject {
override fun applyTheme() {
setButtonColor(binding.settingsLauncherButtonChooseHomescreen, vibrantColor)
setButtonColor(binding.settingsLauncherButtonChooseHomeScreen, vibrantColor)
setSwitchColor(binding.settingsLauncherSwitchScreenTimeout, vibrantColor)
setSwitchColor(binding.settingsLauncherSwitchScreenFull, vibrantColor)
setSwitchColor(binding.settingsLauncherSwitchAutoLaunch, vibrantColor)
@ -85,7 +85,7 @@ class SettingsFragmentLauncher : Fragment(), UIObject {
}
}
binding.settingsLauncherButtonChooseHomescreen.setOnClickListener {
binding.settingsLauncherButtonChooseHomeScreen.setOnClickListener {
setDefaultHomeScreen(requireContext(), checkDefault = false)
}

View file

@ -23,10 +23,10 @@
android:orientation="horizontal">
<Button
android:id="@+id/settings_launcher_button_choose_homescreen"
android:id="@+id/settings_launcher_button_choose_home_screen"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/settings_launcher_choose_homescreen"
android:text="@string/settings_launcher_choose_home_screen"
android:textAllCaps="false" />
</LinearLayout>

View file

@ -90,7 +90,7 @@
- Settings : Meta
-
-->
<string name="settings_meta_select_launcher">Launcher wählen</string>
<string name="settings_launcher_choose_home_screen">Launcher wählen</string>
<string name="settings_meta_cant_select_launcher">App Info</string>
<string name="settings_meta_cant_select_launcher_msg">Dein Gerät unterstützt diese Funktion nicht. Stattdessen die App Details bearbeiten?</string>

View file

@ -114,7 +114,7 @@
- Settings : Meta
-
-->
<string name="settings_meta_select_launcher">Seleccionar Launcher</string>
<string name="settings_launcher_choose_home_screen">Seleccionar Launcher</string>
<string name="settings_meta_cant_select_launcher">Información de la aplicación</string>
<string name="settings_meta_cant_select_launcher_msg">Su dispositivo no posee esta caracrerística. Desea cambiar los detalles de la aplicación?</string>

View file

@ -90,7 +90,7 @@
- Settings : Meta
-
-->
<string name="settings_meta_select_launcher">Choisir Launcher</string>
<string name="settings_launcher_choose_home_screen">Choisir Launcher</string>
<string name="settings_meta_cant_select_launcher">Informations sur l\'application</string>
<string name="settings_meta_cant_select_launcher_msg">Votre appareil ne prend pas en charge cette fonctionnalité. Gérez plutôt les détails de l\'application?</string>
@ -99,8 +99,6 @@
<string name="settings_meta_reset">Réinitialiser</string>
<string name="settings_meta_reset_confirm">Vous allez supprimer toutes vos préférences. Continuer?</string>
<string name="settings_meta_link_github">https://github.de.jrpie.android.launcher#fr</string>
<string name="settings_meta_report_bug">Signaler une erreur</string>
<string name="settings_meta_discord">Rejoindre le serveur Discord</string>

View file

@ -1,42 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- icons that can be used with type="solid" -->
<string name="fas_bars" translatable="false">&#xf0c9;</string>
<string name="fas_home" translatable="false">&#xf015;</string>
<string name="fas_settings" translatable="false">&#xf013;</string>
<string name="fas_globe" translatable="false">&#xf0ac;</string>
<string name="fas_ad" translatable="false">&#xf641;</string>
<string name="fas_backspace" translatable="false">&#xf55a;</string>
<string name="fas_calendar" translatable="false">&#xf133;</string>
<string name="fas_donate" translatable="false">&#xf4b9;</string>
<string name="fas_share" translatable="false">&#xf064;</string>
<string name="fas_trash" translatable="false">&#xf1f8;</string>
<string name="fas_times" translatable="false">&#xf00d;</string> <!-- 'close' -->
<string name="fas_three_dots" translatable="false">&#xf142;</string> <!-- 'ellipsis-v' -->
<string name="fas_volume_down" translatable="false">&#xf027;</string>
<string name="fas_volume_up" translatable="false">&#xf028;</string>
<string name="fas_plus" translatable="false">&#xf067;</string>
<string name="fas_minus" translatable="false">&#xf068;</string>
<string name="fas_back" translatable="false">&#xf048;</string>
<string name="fas_forward" translatable="false">&#xf051;</string>
<string name="fas_angle_double_left" translatable="false">&#xf100;</string>
<string name="fas_angle_double_right" translatable="false">">>"</string>
<string name="fas_angle_double_up" translatable="false">&#xf102;</string>
<string name="fas_angle_double_down" translatable="false">&#xf103;</string>
<string name="fas_store" translatable="false">&#xf54e;</string>
<string name="fas_heart" translatable="false">&#xf004;</string>
<!-- icons that can be used with type="brands" -->
<string name="fab_apple" translatable="false">&#xf179;</string>
<string name="fab_instagram" translatable="false">&#xf16d;</string>
<string name="fab_github" translatable="false">&#xf09b;</string>
<string name="fab_google_play" translatable="false">&#xf3ab;</string>
<!-- icons that can be used with type="solid" and type="regular" -->
<string name="fa_close_window" translatable="false">&#xf410;</string>
<string name="fa_square" translatable="false">&#xf0c8;</string>
<string name="fa_star" translatable="false">&#xf005;</string>
<string name="fa_clipboard" translatable="false">&#xf328;</string>
</resources>

View file

@ -102,8 +102,6 @@
<string name="settings_launcher_choose_wallpaper">Choose a wallpaper</string>
<string name="settings_launcher_change_wallpaper">Change wallpaper</string>
<string name="settings_launcher_choose_homescreen">Set μLauncher as home screen</string>
<string name="settings_launcher_section_display">Display</string>
<string name="settings_launcher_disable_timeout">Keep screen on</string>
@ -123,7 +121,7 @@
- Settings : Meta
-
-->
<string name="settings_meta_select_launcher">Select Launcher</string>
<string name="settings_launcher_choose_home_screen">Set μLauncher as home screen</string>
<string name="settings_meta_cant_select_launcher">App Info</string>
<string name="settings_meta_cant_select_launcher_msg">Your device does not support this feature. Manage application details instead?</string>