2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-19 09:25:34 +00:00

[fenix] Bug 1804383 - Save as PDF text is missing in Private Mode

This commit is contained in:
Arturo Mejia 2022-12-17 06:31:33 -05:00 committed by mergify[bot]
parent cd0ceb1cc3
commit 3b80442c40

View File

@ -31,6 +31,7 @@ import org.mozilla.fenix.databinding.FragmentShareBinding
import org.mozilla.fenix.ext.getRootView
import org.mozilla.fenix.ext.requireComponents
import org.mozilla.fenix.theme.FirefoxTheme
import org.mozilla.fenix.theme.Theme
class ShareFragment : AppCompatDialogFragment() {
@ -122,7 +123,7 @@ class ShareFragment : AppCompatDialogFragment() {
isVisible = true
setViewCompositionStrategy(ViewCompositionStrategy.DisposeOnViewTreeLifecycleDestroyed)
setContent {
FirefoxTheme {
FirefoxTheme(theme = Theme.getTheme(allowPrivateTheme = false)) {
SaveToPDFItem {
shareInteractor.onSaveToPDF(tabId = args.sessionId)
}