Skip to content

Commit 59fe900

Browse files
committed
fix build
1 parent 80902e8 commit 59fe900

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/java/org/mozilla/fenix/tabstray/TabsTrayController.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ class DefaultTabsTrayController(
224224
private val showUndoSnackbarForInactiveTab: (Int) -> Unit,
225225
private val showUndoSnackbarForSyncedTab: (CloseTabsUseCases.UndoableOperation) -> Unit,
226226
internal val showCancelledDownloadWarning: (downloadCount: Int, tabId: String?, source: String?) -> Unit,
227-
private val showBookmarkSnackbar: (tabSize: Int) -> Unit,
227+
private val showBookmarkSnackbar: (tabSize: Int, parentFolderTitle: String?) -> Unit,
228228
private val showCollectionSnackbar: (
229229
tabSize: Int,
230230
isNewCollection: Boolean,
@@ -442,7 +442,7 @@ class DefaultTabsTrayController(
442442
)
443443
}
444444
withContext(Dispatchers.Main) {
445-
showBookmarkSnackbar(tabs.size)
445+
showBookmarkSnackbar(tabs.size, parentNode?.title)
446446
}
447447
}.getOrElse {
448448
// silently fail

0 commit comments

Comments
 (0)