LeOS-Ice-browser/0013-AddOn_HomeFragment.patch

41 lines
1.6 KiB
Diff

From 2f480d829bff77f40594a12e84b1af483d65c9f5 Mon Sep 17 00:00:00 2001
From: harvey186 <harvey186@hotmail.com>
Date: Wed, 21 Feb 2024 13:17:21 +0100
Subject: [PATCH] AddOn_HomeFragment
---
.../java/org/mozilla/fenix/addons/AddonsManagementFragment.kt | 4 ----
app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt | 1 -
2 files changed, 5 deletions(-)
diff --git a/app/src/main/java/org/mozilla/fenix/addons/AddonsManagementFragment.kt b/app/src/main/java/org/mozilla/fenix/addons/AddonsManagementFragment.kt
index cee42dabc..9ec00fb5b 100644
--- a/app/src/main/java/org/mozilla/fenix/addons/AddonsManagementFragment.kt
+++ b/app/src/main/java/org/mozilla/fenix/addons/AddonsManagementFragment.kt
@@ -142,10 +142,6 @@ class AddonsManagementFragment : Fragment(R.layout.fragment_add_ons_management)
showAlertDialog()
true
}
- R.id.addons_sideload -> {
- installFromFile()
- true
- }
R.id.search -> {
true
}
diff --git a/app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt b/app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt
index 6ed9c9620..056677d96 100644
--- a/app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt
+++ b/app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt
@@ -480,7 +480,6 @@ class HomeFragment : Fragment() {
}
},
),
- showTopRecentSites = settings.showTopRecentSites,
)
}
--
2.34.1