Skip to content

Commit

Permalink
Swap the pixels being fired
Browse files Browse the repository at this point in the history
  • Loading branch information
0nko committed Aug 2, 2024
1 parent c0505a7 commit 1069ee5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,10 @@ class TabSwitcherViewModel @Inject constructor(
pixel.fire(AppPixelName.TAB_MANAGER_VIEW_MODE_TOGGLED_DAILY, emptyMap(), emptyMap(), DAILY)

val newLayoutType = if (layoutType.value == GRID) {
pixel.fire(AppPixelName.TAB_MANAGER_GRID_VIEW_BUTTON_CLICKED)
pixel.fire(AppPixelName.TAB_MANAGER_LIST_VIEW_BUTTON_CLICKED)
LIST
} else {
pixel.fire(AppPixelName.TAB_MANAGER_LIST_VIEW_BUTTON_CLICKED)
pixel.fire(AppPixelName.TAB_MANAGER_GRID_VIEW_BUTTON_CLICKED)
GRID
}
tabRepository.setTabLayoutType(newLayoutType)
Expand Down

0 comments on commit 1069ee5

Please sign in to comment.