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
-
f22fa2b5
by Matthew Finkel at 2020-10-01T16:24:50+00:00
1 changed file:
Changes:
| ... | ... | @@ -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 |
}
|