For #9987: Set FLAG_SECURE to dialog when flag set in activity.

fennec/production
mcarare 4 years ago committed by Emily Kager
parent da3fca0f29
commit 72fe52fcb8

@ -35,6 +35,7 @@ import org.mozilla.fenix.components.metrics.Event
import org.mozilla.fenix.ext.components
import org.mozilla.fenix.ext.getPreferenceKey
import org.mozilla.fenix.ext.requireComponents
import org.mozilla.fenix.ext.secure
import org.mozilla.fenix.ext.settings
import org.mozilla.fenix.ext.showToolbar
import java.util.concurrent.Executors
@ -241,7 +242,7 @@ class LoginsFragment : PreferenceFragmentCompat(), AccountObserver {
startActivity(intent)
}
create()
}.show()
}.show().secure(activity)
it.settings().incrementShowLoginsSecureWarningCount()
}
}

Loading…
Cancel
Save