[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[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



Title: GitLab

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

Commits:

1 changed file:

Changes:

  • app/src/main/java/org/mozilla/fenix/share/ShareFragment.kt
    ... ... @@ -35,7 +35,6 @@ class ShareFragment : AppCompatDialogFragment() {
    35 35
         }
    
    36 36
         private lateinit var shareInteractor: ShareInteractor
    
    37 37
         private lateinit var shareCloseView: ShareCloseView
    
    38
    -    private lateinit var shareToAccountDevicesView: ShareToAccountDevicesView
    
    39 38
         private lateinit var shareToAppsView: ShareToAppsView
    
    40 39
     
    
    41 40
         override fun onAttach(context: Context) {
    
    ... ... @@ -90,9 +89,6 @@ class ShareFragment : AppCompatDialogFragment() {
    90 89
             )
    
    91 90
     
    
    92 91
             view.shareWrapper.setOnClickListener { shareInteractor.onShareClosed() }
    
    93
    -        shareToAccountDevicesView =
    
    94
    -            ShareToAccountDevicesView(view.devicesShareLayout, shareInteractor)
    
    95
    -
    
    96 92
             if (args.showPage) {
    
    97 93
                 // Show the previous fragment underneath the share background scrim
    
    98 94
                 // by making it translucent.
    
    ... ... @@ -111,9 +107,6 @@ class ShareFragment : AppCompatDialogFragment() {
    111 107
     
    
    112 108
         override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
    
    113 109
             super.onViewCreated(view, savedInstanceState)
    
    114
    -        viewModel.devicesList.observe(viewLifecycleOwner) { devicesShareOptions ->
    
    115
    -            shareToAccountDevicesView.setShareTargets(devicesShareOptions)
    
    116
    -        }
    
    117 110
             viewModel.appsList.observe(viewLifecycleOwner) { appsToShareTo ->
    
    118 111
                 shareToAppsView.setShareTargets(appsToShareTo)
    
    119 112
             }
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits