Skip to content

Commit

Permalink
fix: liquid keyboard not regenerate data as expected after related vi…
Browse files Browse the repository at this point in the history
…ew cache was destroyed
  • Loading branch information
if-can committed Jan 12, 2025
1 parent 4e85bcd commit 25b3795
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ class LiquidKeyboard(
private lateinit var currentBoardType: SymbolBoardType
private lateinit var currentBoardAdapter: RecyclerView.Adapter<*>

init {
TabManager.setTabExited()
}

private val simpleAdapter by lazy {
val itemWidth = context.dp(theme.liquid.getInt("single_width"))
val columnCount = context.resources.displayMetrics.widthPixels / itemWidth
Expand Down

0 comments on commit 25b3795

Please sign in to comment.