diff --git a/src/main/kotlin/com/looker/droidify/ui/fragments/InstalledFragment.kt b/src/main/kotlin/com/looker/droidify/ui/fragments/InstalledFragment.kt
index 8842130f..a147acf3 100644
--- a/src/main/kotlin/com/looker/droidify/ui/fragments/InstalledFragment.kt
+++ b/src/main/kotlin/com/looker/droidify/ui/fragments/InstalledFragment.kt
@@ -50,45 +50,6 @@ class InstalledFragment : MainNavFragmentX() {
redrawPage(it)
}
viewModel.secondaryProducts.observe(viewLifecycleOwner) {
- binding.updatedBar.visibility = if (it.isNotEmpty()) View.VISIBLE else View.GONE
- binding.secondaryComposeRecycler.setContent {
- AppTheme(
- darkTheme = when (Preferences[Preferences.Key.Theme]) {
- is Preferences.Theme.System -> isSystemInDarkTheme()
- is Preferences.Theme.AmoledSystem -> isSystemInDarkTheme()
- else -> isDarkTheme
- }
- ) {
- MdcTheme {
- ProductsHorizontalRecycler(it, repositories) { item ->
- AppSheetX(item.packageName)
- .showNow(parentFragmentManager, "Product ${item.packageName}")
- }
- }
- }
- }
- }
- binding.buttonUpdated.setOnClickListener {
- binding.secondaryComposeRecycler.visibility =
- when (binding.secondaryComposeRecycler.visibility) {
- View.VISIBLE -> {
- binding.buttonUpdated.setCompoundDrawablesRelativeWithIntrinsicBounds(
- 0, 0, R.drawable.ic_arrow_down, 0
- )
- View.GONE
- }
- else -> {
- binding.buttonUpdated.setCompoundDrawablesRelativeWithIntrinsicBounds(
- 0, 0, R.drawable.ic_arrow_up, 0
- )
- View.VISIBLE
- }
- }
- }
- binding.buttonUpdateAll.setOnClickListener {
- viewModel.secondaryProducts.value?.let {
- mainActivityX.syncConnection.binder?.updateApps(it.map(Product::toItem))
- }
}
mainActivityX.menuSetup.observe(viewLifecycleOwner) {
if (it != null) {
diff --git a/src/main/res/layout/fragment_installed_x.xml b/src/main/res/layout/fragment_installed_x.xml
index 657234e7..9ca6818b 100644
--- a/src/main/res/layout/fragment_installed_x.xml
+++ b/src/main/res/layout/fragment_installed_x.xml
@@ -15,105 +15,21 @@
~ You should have received a copy of the GNU Affero General Public License
~ along with this program. If not, see .
-->
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ android:layout_height="match_parent" />
+