Skip to content

Commit 0b5c9fb

Browse files
committed
revert ... in ui
1 parent c511001 commit 0b5c9fb

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

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

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -72,20 +72,6 @@ class LyricAdapter(
7272
holder.en.setTextSize(TypedValue.COMPLEX_UNIT_SP, translationSize)
7373

7474

75-
if (isGap) {
76-
holder.en.text = ""
77-
holder.en.visibility = View.GONE
78-
holder.furigana?.visibility = View.GONE
79-
holder.jp.alpha = 0.3f // Optional: dim the dots
80-
} else {
81-
// 3. Normal translation logic
82-
val translation = translations.getOrNull(position) ?: ""
83-
holder.en.text = translation
84-
85-
// Ensure visibility follows your existing SubtitleMode logic below
86-
holder.jp.alpha = if (position == activeIndex) 1.0f else 0.5f
87-
}
88-
8975
if (position == activeIndex) {
9076
// Active State: Spotify Green, fully opaque
9177
holder.jp.setTextColor("#1DB954".toColorInt())

0 commit comments

Comments
 (0)