Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
GrakovNe committed Dec 4, 2024
1 parent ace4b34 commit 67db542
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ fun CommonSettingsComposable(
}
}

if (preferredLibraryExpanded && libraries.isNotEmpty()) {
if (preferredLibraryExpanded && libraries != null && libraries.isNotEmpty()) {
CommonSettingsItemComposable(
items = libraries.map { CommonSettingsItem(it.id, it.title, it.type.provideIcon()) },
selectedItem = preferredLibrary?.let { CommonSettingsItem(it.id, it.title, it.type.provideIcon()) },
Expand Down

0 comments on commit 67db542

Please sign in to comment.