diff --git a/src/main/kotlin/com/looker/droidify/ui/fragments/LatestFragment.kt b/src/main/kotlin/com/looker/droidify/ui/fragments/LatestFragment.kt index 85e26028..4217992d 100644 --- a/src/main/kotlin/com/looker/droidify/ui/fragments/LatestFragment.kt +++ b/src/main/kotlin/com/looker/droidify/ui/fragments/LatestFragment.kt @@ -51,22 +51,6 @@ class LatestFragment : MainNavFragmentX() { redrawPage(it) } viewModel.secondaryProducts.observe(viewLifecycleOwner) { - 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}") - } - } - } - } } mainActivityX.menuSetup.observe(viewLifecycleOwner) { if (it != null) { diff --git a/src/main/res/layout/fragment_latest_x.xml b/src/main/res/layout/fragment_latest_x.xml index de016ed1..9ca6818b 100644 --- a/src/main/res/layout/fragment_latest_x.xml +++ b/src/main/res/layout/fragment_latest_x.xml @@ -15,74 +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" /> +