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 0c569b3 commit d984ebeCopy full SHA for d984ebe
app/src/main/java/com/duckduckgo/app/tabs/ui/TabSwitcherViewModel.kt
@@ -206,7 +206,9 @@ class TabSwitcherViewModel @Inject constructor(
206
title = entity?.title ?: "",
207
)
208
} else if (mode.selectedTabs.size > 1) {
209
- val links = tabSwitcherItems.value?.filter { it.id in mode.selectedTabs }?.mapNotNull { (it as? TabSwitcherItem.Tab)?.tabEntity?.url }
+ val links = tabSwitcherItems.value
210
+ ?.filter { it.id in mode.selectedTabs }
211
+ ?.mapNotNull { (it as? TabSwitcherItem.Tab)?.tabEntity?.url }
212
command.value = ShareLinks(links ?: emptyList())
213
}
214
0 commit comments