Loading app/src/main/java/org/mozilla/fenix/share/ShareFragment.kt +0 −7 Changes for app/src/main/java/org/mozilla/fenix/share/ShareFragment.kt: 0 added lines, 7 removed lines. Original line number Diff line number Diff line Loading @@ -37,7 +37,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) { Loading Loading @@ -92,9 +91,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. Loading @@ -113,9 +109,6 @@ class ShareFragment : AppCompatDialogFragment() { override fun onViewCreated(view: View, savedInstanceState: Bundle?) { super.onViewCreated(view, savedInstanceState) viewModel.devicesList.observe<List<SyncShareOption>>(viewLifecycleOwner) { devicesShareOptions -> shareToAccountDevicesView.setShareTargets(devicesShareOptions) } viewModel.appsList.observe<List<AppShareOption>>(viewLifecycleOwner) { appsToShareTo -> shareToAppsView.setShareTargets(appsToShareTo) } Loading Loading
app/src/main/java/org/mozilla/fenix/share/ShareFragment.kt +0 −7 Changes for app/src/main/java/org/mozilla/fenix/share/ShareFragment.kt: 0 added lines, 7 removed lines. Original line number Diff line number Diff line Loading @@ -37,7 +37,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) { Loading Loading @@ -92,9 +91,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. Loading @@ -113,9 +109,6 @@ class ShareFragment : AppCompatDialogFragment() { override fun onViewCreated(view: View, savedInstanceState: Bundle?) { super.onViewCreated(view, savedInstanceState) viewModel.devicesList.observe<List<SyncShareOption>>(viewLifecycleOwner) { devicesShareOptions -> shareToAccountDevicesView.setShareTargets(devicesShareOptions) } viewModel.appsList.observe<List<AppShareOption>>(viewLifecycleOwner) { appsToShareTo -> shareToAppsView.setShareTargets(appsToShareTo) } Loading