[tor-commits] [Git][tpo/applications/fenix][tor-browser-81.1.1-10.0-1] 2 commits: Bug 40061: Do not show "Send to device" in sharing menu

Matthew Finkel gitlab at torproject.org
Thu Oct 1 16:27:34 UTC 2020



Matthew Finkel pushed to branch tor-browser-81.1.1-10.0-1 at The Tor Project / Applications / fenix


Commits:
ab9ca18c by Alex Catarineu at 2020-10-01T17:55:47+02:00
Bug 40061: Do not show "Send to device" in sharing menu

- - - - -
f22fa2b5 by Matthew Finkel at 2020-10-01T16:24:50+00:00
Merge remote-tracking branch 'acatgl/40061' into tor-browser-81.1.1-10.0-1

- - - - -


1 changed file:

- app/src/main/java/org/mozilla/fenix/share/ShareFragment.kt


Changes:

=====================================
app/src/main/java/org/mozilla/fenix/share/ShareFragment.kt
=====================================
@@ -35,7 +35,6 @@ class ShareFragment : AppCompatDialogFragment() {
     }
     private lateinit var shareInteractor: ShareInteractor
     private lateinit var shareCloseView: ShareCloseView
-    private lateinit var shareToAccountDevicesView: ShareToAccountDevicesView
     private lateinit var shareToAppsView: ShareToAppsView
 
     override fun onAttach(context: Context) {
@@ -90,9 +89,6 @@ class ShareFragment : AppCompatDialogFragment() {
         )
 
         view.shareWrapper.setOnClickListener { shareInteractor.onShareClosed() }
-        shareToAccountDevicesView =
-            ShareToAccountDevicesView(view.devicesShareLayout, shareInteractor)
-
         if (args.showPage) {
             // Show the previous fragment underneath the share background scrim
             // by making it translucent.
@@ -111,9 +107,6 @@ class ShareFragment : AppCompatDialogFragment() {
 
     override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
         super.onViewCreated(view, savedInstanceState)
-        viewModel.devicesList.observe(viewLifecycleOwner) { devicesShareOptions ->
-            shareToAccountDevicesView.setShareTargets(devicesShareOptions)
-        }
         viewModel.appsList.observe(viewLifecycleOwner) { appsToShareTo ->
             shareToAppsView.setShareTargets(appsToShareTo)
         }



View it on GitLab: https://gitlab.torproject.org/tpo/applications/fenix/-/compare/1087d1efd8780ff997a2c6f6740bb700797240c1...f22fa2b557f5152f1167a1acfa2dc3c384a5c6b9

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/fenix/-/compare/1087d1efd8780ff997a2c6f6740bb700797240c1...f22fa2b557f5152f1167a1acfa2dc3c384a5c6b9
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-commits/attachments/20201001/19ada152/attachment-0001.htm>


More information about the tor-commits mailing list