diff --git a/app/build.gradle b/app/build.gradle
index 19e0cf4b4..0a0c5b385 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -71,7 +71,7 @@ dependencies {
// General
implementation "androidx.core:core-ktx:1.8.0"
implementation "androidx.activity:activity-ktx:1.5.1"
- implementation "androidx.fragment:fragment-ktx:1.5.1"
+ implementation "androidx.fragment:fragment-ktx:1.5.2"
// UI
implementation "androidx.recyclerview:recyclerview:1.2.1"
diff --git a/app/src/main/java/org/oxycblt/auxio/detail/DetailAppBarLayout.kt b/app/src/main/java/org/oxycblt/auxio/detail/DetailAppBarLayout.kt
index 6305f68d1..de6ebe883 100644
--- a/app/src/main/java/org/oxycblt/auxio/detail/DetailAppBarLayout.kt
+++ b/app/src/main/java/org/oxycblt/auxio/detail/DetailAppBarLayout.kt
@@ -56,7 +56,7 @@ constructor(context: Context, attrs: AttributeSet? = null, @AttrRes defStyleAttr
(layoutParams as CoordinatorLayout.LayoutParams).behavior = Behavior(context)
}
- private fun findTitleView(): AppCompatTextView? {
+ private fun findTitleView(): AppCompatTextView {
val titleView = titleView
if (titleView != null) {
return titleView
@@ -106,11 +106,11 @@ constructor(context: Context, attrs: AttributeSet? = null, @AttrRes defStyleAttr
to = 0f
}
- if (titleView?.alpha == to) return
+ if (titleView.alpha == to) return
this.titleAnimator =
ValueAnimator.ofFloat(from, to).apply {
- addUpdateListener { titleView?.alpha = it.animatedValue as Float }
+ addUpdateListener { titleView.alpha = it.animatedValue as Float }
duration = TOOLBAR_FADE_DURATION
start()
}
diff --git a/app/src/main/java/org/oxycblt/auxio/util/FrameworkUtil.kt b/app/src/main/java/org/oxycblt/auxio/util/FrameworkUtil.kt
index bc9c24f7b..71cc733ee 100644
--- a/app/src/main/java/org/oxycblt/auxio/util/FrameworkUtil.kt
+++ b/app/src/main/java/org/oxycblt/auxio/util/FrameworkUtil.kt
@@ -45,7 +45,6 @@ import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.flow.StateFlow
import kotlinx.coroutines.flow.combine
import kotlinx.coroutines.launch
-import org.oxycblt.auxio.R
/**
* Determines if the point given by [x] and [y] falls within this view.
diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
index eca70cfe5..6f3b755bf 100644
--- a/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
+++ b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
@@ -2,4 +2,5 @@
+
\ No newline at end of file
diff --git a/app/src/main/res/values-ar-rIQ/strings.xml b/app/src/main/res/values-ar-rIQ/strings.xml
index 548ee23b7..b825f49d0 100644
--- a/app/src/main/res/values-ar-rIQ/strings.xml
+++ b/app/src/main/res/values-ar-rIQ/strings.xml
@@ -81,7 +81,6 @@
صوتيات
صخب الصوت
- اطفاء
تفضيل المقطع
تفضيل الالبوم
ديناميكي
diff --git a/app/src/main/res/values-cs/strings.xml b/app/src/main/res/values-cs/strings.xml
index 069f6b132..3da5a2fa7 100644
--- a/app/src/main/res/values-cs/strings.xml
+++ b/app/src/main/res/values-cs/strings.xml
@@ -46,7 +46,6 @@
@android:string/cancel
Přidat
Uložit
- Vyp
O aplikaci
Verze
Zdrojový kód
diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml
index 0a9352c99..88448208b 100644
--- a/app/src/main/res/values-de/strings.xml
+++ b/app/src/main/res/values-de/strings.xml
@@ -36,7 +36,6 @@
FAQ
Lizenzen
Entwickelt von OxygenCobalt
- Aus
Einstellungen
Aussehen
diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml
index 14863fdc6..6a3d59076 100644
--- a/app/src/main/res/values-es/strings.xml
+++ b/app/src/main/res/values-es/strings.xml
@@ -67,7 +67,6 @@
Preferir acción de mezcla
Sonido
ReplayGain
- Desactivado
Por pista
Por álbum
Preferir el álbum si se está en reproducción
diff --git a/app/src/main/res/values-fil/strings.xml b/app/src/main/res/values-fil/strings.xml
index 3272c7dcc..5ba827e7b 100644
--- a/app/src/main/res/values-fil/strings.xml
+++ b/app/src/main/res/values-fil/strings.xml
@@ -56,7 +56,6 @@
Haluin
Idagdag
I-save
- Naka-patay
Tungkol
Ulat
Tignan sa GitHub
diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml
index b6e307f68..b575dac30 100644
--- a/app/src/main/res/values-fr/strings.xml
+++ b/app/src/main/res/values-fr/strings.xml
@@ -91,7 +91,6 @@
Enregistrer
Taille
Ajouter
- Désactivé
Affichage
Afficher les pochettes d\'album
Onglets de la bibliothèque
diff --git a/app/src/main/res/values-hr/strings.xml b/app/src/main/res/values-hr/strings.xml
index fd010bb3f..230c867c6 100644
--- a/app/src/main/res/values-hr/strings.xml
+++ b/app/src/main/res/values-hr/strings.xml
@@ -54,7 +54,6 @@
Otkaži
Dodaj
Spremi
- Onemogući
O
Inačica
Izvorni kod
diff --git a/app/src/main/res/values-in/strings.xml b/app/src/main/res/values-in/strings.xml
index 1ed97f74c..e3cb47267 100644
--- a/app/src/main/res/values-in/strings.xml
+++ b/app/src/main/res/values-in/strings.xml
@@ -68,7 +68,6 @@
Putar otomatis headset
Selalu mulai bermain ketika headset tersambung (mungkin tidak berfungsi pada semua perangkat)
ReplayGain
- Off
Jalur induk
Ukuran
Tingkat sampel
diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml
index 7b7f92069..ef6722bd8 100644
--- a/app/src/main/res/values-it/strings.xml
+++ b/app/src/main/res/values-it/strings.xml
@@ -86,7 +86,6 @@
Salva lo stato di riproduzione corrente
Ricarica musica
Potrebbe cancellare lo stato di riproduzione
- Spento
Musica non trovata
Caricamento musica fallito
diff --git a/app/src/main/res/values-ko/strings.xml b/app/src/main/res/values-ko/strings.xml
index 53b39a4c9..0f167c997 100644
--- a/app/src/main/res/values-ko/strings.xml
+++ b/app/src/main/res/values-ko/strings.xml
@@ -53,7 +53,6 @@
@android:string/cancel
추가
저장
- 끔
정보
버전
diff --git a/app/src/main/res/values-lt/strings.xml b/app/src/main/res/values-lt/strings.xml
index 25ed028f6..8ff4a94ee 100644
--- a/app/src/main/res/values-lt/strings.xml
+++ b/app/src/main/res/values-lt/strings.xml
@@ -40,7 +40,6 @@
Išsaugoti
Apie
Pridėti
- Išjungta
DUK
Išvaizda
Formatas
diff --git a/app/src/main/res/values-nl/strings.xml b/app/src/main/res/values-nl/strings.xml
index 4d785d1ae..818efadde 100644
--- a/app/src/main/res/values-nl/strings.xml
+++ b/app/src/main/res/values-nl/strings.xml
@@ -143,7 +143,6 @@
Totale duur: %s
Shuffle Alles
@android:string/ok
- Uit
Altijd beginnen met spelen als een headset is aangesloten (werkt mogelijk niet op alle apparaten)
Schakel shuffle aan of uit
Kan afspeelstatus wissen
diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml
index bfc7705d6..bf9a6e272 100644
--- a/app/src/main/res/values-pt-rBR/strings.xml
+++ b/app/src/main/res/values-pt-rBR/strings.xml
@@ -205,7 +205,6 @@
Modo redondo
Pular para o próximo
\@string/lbl_shuffle
- Desativar
Reproduzir do álbum
Salvar estado de reprodução
Limpar estado de reprodução
diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml
index 02ed2ce75..a50942cc0 100644
--- a/app/src/main/res/values-ru/strings.xml
+++ b/app/src/main/res/values-ru/strings.xml
@@ -69,7 +69,6 @@
Воспроизводить при подключении
Всегда начинать воспроизведение при подключении наушников (может работать не на всех устройствах)
Выравнивание громкости
- Выкл.
По треку
По альбому
Предпочитать альбом, если он воспроизводится
diff --git a/app/src/main/res/values-tr/strings.xml b/app/src/main/res/values-tr/strings.xml
index dbbcfbae5..4bbe438a7 100644
--- a/app/src/main/res/values-tr/strings.xml
+++ b/app/src/main/res/values-tr/strings.xml
@@ -81,7 +81,6 @@
Albüm
Yıl
Süre
- Kapalı
Durum kaydedildi
OxygenCobalt tarafından geliştirildi
Siyah tema
diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml
index 3b75a988f..1a86638f8 100644
--- a/app/src/main/res/values-zh-rCN/strings.xml
+++ b/app/src/main/res/values-zh-rCN/strings.xml
@@ -85,7 +85,6 @@
立即保存当前播放状态
重新加载音乐
可能会抹除播放状态
- 关闭
没有找到音乐
加载音乐失败
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 662a3367a..49f738535 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -181,7 +181,6 @@
Headset autoplay
Always start playing when a headset is connected (may not work on all devices)
ReplayGain strategy
- Off
Prefer track
Prefer album
Prefer album if one is playing