Skip to content

Commit 727bbbb

Browse files
committed
hotfix ui crash
1 parent 0d97a45 commit 727bbbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/java/com/mixtapeo/lyrisync/MainActivity.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ class MainActivity : AppCompatActivity() {
282282
findViewById<com.google.android.material.slider.Slider>(R.id.textSizeSlider)
283283

284284
// Load saved text sizes
285-
val savedTextSize = sharedPrefs.getFloat("TEXT_SIZE", 22f)
285+
val savedTextSize = sharedPrefs.getFloat("TEXT_SIZE", 16f)
286286

287287
// Initialize Sliders
288288
textSizeSlider.value = savedTextSize
@@ -517,7 +517,7 @@ class MainActivity : AppCompatActivity() {
517517

518518
if (!isFirstRun) {
519519
// Try to connect silently first. Do NOT force the auth view yet.
520-
reconnectToSpotify(forceAuthView = false)
520+
reconnectToSpotify(forceAuthView = true)
521521
}
522522
}
523523

0 commit comments

Comments
 (0)