Skip to content

Commit da6a911

Browse files
committed
refactor: remove obsolete custom scroll view
1 parent bd6c7fc commit da6a911

File tree

2 files changed

+3
-187
lines changed

2 files changed

+3
-187
lines changed

app/src/main/java/com/osfans/trime/ime/symbol/LiquidTabsUi.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ package com.osfans.trime.ime.symbol
77
import android.content.Context
88
import android.graphics.Color
99
import android.graphics.drawable.PaintDrawable
10+
import android.widget.HorizontalScrollView
1011
import com.osfans.trime.data.theme.ColorManager
1112
import com.osfans.trime.data.theme.FontManager
1213
import com.osfans.trime.data.theme.Theme
13-
import com.osfans.trime.ime.text.ScrollView
1414
import com.osfans.trime.util.rippleDrawable
1515
import splitties.dimensions.dp
1616
import splitties.views.dsl.core.Ui
@@ -80,7 +80,8 @@ class LiquidTabsUi(override val ctx: Context, val theme: Theme) : Ui {
8080
private val horizontal = horizontalLayout()
8181

8282
override val root =
83-
ScrollView(ctx, null).apply {
83+
HorizontalScrollView(ctx).apply {
84+
isVerticalScrollBarEnabled = false
8485
isHorizontalScrollBarEnabled = false
8586
add(
8687
horizontal,

app/src/main/java/com/osfans/trime/ime/text/ScrollView.kt

Lines changed: 0 additions & 185 deletions
This file was deleted.

0 commit comments

Comments
 (0)