Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Applications
fenix
Commits
97d66cce
Commit
97d66cce
authored
May 20, 2020
by
Jeff Boek
Browse files
For #10504 - Creates the TabTrayDialogFragment
parent
9ce9fbc8
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt
View file @
97d66cce
...
...
@@ -99,6 +99,7 @@ import org.mozilla.fenix.home.sessioncontrol.viewholders.CollectionViewHolder
import
org.mozilla.fenix.onboarding.FenixOnboarding
import
org.mozilla.fenix.settings.SupportUtils
import
org.mozilla.fenix.settings.deletebrowsingdata.deleteAndQuit
import
org.mozilla.fenix.tabtray.TabTrayDialogFragment
import
org.mozilla.fenix.theme.ThemeManager
import
org.mozilla.fenix.utils.FragmentPreDrawManager
import
org.mozilla.fenix.utils.Settings
...
...
@@ -357,7 +358,8 @@ class HomeFragment : Fragment() {
view
.
tab_button
.
setOnClickListener
{
invokePendingDeleteJobs
()
hideOnboardingIfNeeded
()
findNavController
().
navigate
(
HomeFragmentDirections
.
actionGlobalTabTrayFragment
())
val
tabTrayDialog
=
TabTrayDialogFragment
()
tabTrayDialog
.
show
(
parentFragmentManager
,
null
)
}
PrivateBrowsingButtonView
(
...
...
app/src/main/java/org/mozilla/fenix/tabtray/TabTrayDialogFragment.kt
0 → 100644
View file @
97d66cce
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package
org.mozilla.fenix.tabtray
import
androidx.appcompat.app.AppCompatDialogFragment
class
TabTrayDialogFragment
:
AppCompatDialogFragment
()
{
}
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment