Skip to content

Commit

Permalink
Fix #2413 (Crash when trying to open workspace selector)
Browse files Browse the repository at this point in the history
  • Loading branch information
tuomas2 committed Feb 4, 2023
1 parent c3abaf8 commit 22537b4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class WorkspaceAdapter(val activity: WorkspaceSelectorActivity): RecyclerView.Ad
title.text = titleText
summary.text = workspaceEntity.contentsText

val workspaceColor = (workspaceEntity.workspaceSettings?: WorkspaceEntities.WorkspaceSettings.default).workspaceColor!!
val workspaceColor = workspaceEntity.workspaceSettings?.workspaceColor?: defaultWorkspaceColor
dragHolder.setColorFilter(workspaceColor)

layout.setOnClickListener {
Expand Down

0 comments on commit 22537b4

Please sign in to comment.