[fenix] For https://github.com/mozilla-mobile/fenix/issues/9987: Set FLAG_SECURE to dialog when flag set in activity.

pull/600/head
mcarare 4 years ago committed by Emily Kager
parent 2aaeb8c3e4
commit 5aa32ad79a

@ -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