Skip to content

Commit

Permalink
fix: dbAdapter.type not updated when switching tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
shitlime authored and goofyz committed May 21, 2024
1 parent 751563b commit 6d1eb3f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,8 @@ class LiquidKeyboard(
}

private fun initDbData(data: suspend () -> List<DatabaseBean>) {
dbAdapter.type = currentBoardType
if (onAdapterChange(dbAdapter)) {
dbAdapter.type = currentBoardType
keyboardView.apply {
layoutManager = oneColStaggeredGridLayoutManager
adapter = dbAdapter
Expand Down

0 comments on commit 6d1eb3f

Please sign in to comment.