Skip to content

Commit

Permalink
Dev 31 (#220)
Browse files Browse the repository at this point in the history
* updated plugin installation string

* changed default theme to waves theme
  • Loading branch information
LivingWithHippos authored Jun 5, 2022
1 parent 907c1c5 commit 168b74e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import com.github.livingwithhippos.unchained.settings.view.SettingsFragment
class ThemingCallback(val preferences: SharedPreferences) : Application.ActivityLifecycleCallbacks {

override fun onActivityCreated(activity: Activity, savedInstanceState: Bundle?) {
preferences.getString(SettingsFragment.KEY_THEME, "original")?.let {
preferences.getString(SettingsFragment.KEY_THEME, "waves_01")?.let {
setupNightMode(activity.resources, it)
if (activity is AppCompatActivity)
setCustomTheme(activity, it)
Expand Down
2 changes: 1 addition & 1 deletion app/app/src/main/res/values-fr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,6 @@
<string name="show_load_stream_button">Afficher le bouton du flux de chargement</string>
<string name="show_stream_browser_button">Afficher le bouton de flux dans le navigateur</string>
<string name="install_plugins_pack">Installer le pack de plugins</string>
<string name="n_plugins_installed">%d plugins installés</string>
<string name="n_plugins_installed">%d plugins installés. Redémarrez l\'application pour les utiliser.</string>
<string name="install_plugins_pack_summary">Utilisez le bouton du menu de l\'écran de recherche pour installer tous les plugins en une seule fois.</string>
</resources>
2 changes: 1 addition & 1 deletion app/app/src/main/res/values-it/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,6 @@
<string name="show_load_stream_button">Mostra bottone carica stream</string>
<string name="show_stream_browser_button">Mostra bottone stream nel browser</string>
<string name="install_plugins_pack">Installa pacchetto plugins</string>
<string name="n_plugins_installed">%d plugins installati</string>
<string name="n_plugins_installed">%d plugins installati. Riavvia l\'app per usarli</string>
<string name="install_plugins_pack_summary">Usa il bottone nel menu della schermata di ricerca per installare il pacchetto completo dei plugins</string>
</resources>
2 changes: 1 addition & 1 deletion app/app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@
<item quantity="one">1 plugin needs an update. Check for a new version</item>
<item quantity="other">%d plugins need an update. Check for a new version</item>
</plurals>
<string name="n_plugins_installed">%d plugins installed</string>
<string name="n_plugins_installed">%d plugins installed. Restart the app to use them.</string>
<string name="seeders_short_format" translatable="false">S: %s</string>
<string name="leechers_short_format" translatable="false">L: %s</string>
<string name="size_format">size: %s</string>
Expand Down
2 changes: 1 addition & 1 deletion app/app/src/main/res/xml/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
android:title="@string/title_aspect">

<DropDownPreference
android:defaultValue="original"
android:defaultValue="waves_01"
android:entries="@array/themes"
android:entryValues="@array/theme_values"
android:key="current_theme"
Expand Down

0 comments on commit 168b74e

Please sign in to comment.