We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7aeca7 commit d33cb74Copy full SHA for d33cb74
app/src/main/java/com/duckduckgo/app/tabs/ui/TabSwitcherViewModel.kt
@@ -213,7 +213,9 @@ class TabSwitcherViewModel @Inject constructor(
213
title = entity?.title ?: "",
214
)
215
} else if (mode.selectedTabs.size > 1) {
216
- val links = tabSwitcherItems.value?.filter { it.id in mode.selectedTabs }?.mapNotNull { (it as? TabSwitcherItem.Tab)?.tabEntity?.url }
+ val links = tabSwitcherItems.value
217
+ ?.filter { it.id in mode.selectedTabs }
218
+ ?.mapNotNull { (it as? TabSwitcherItem.Tab)?.tabEntity?.url }
219
command.value = ShareLinks(links ?: emptyList())
220
}
221
0 commit comments