LeOS-Ice-browser/patches/0002-addonManagement.patch

46 lines
1.9 KiB
Diff

From 87ed492a2038cae402e35a025fcc95064a472868 Mon Sep 17 00:00:00 2001
From: harvey186 <harvey186@hotmail.com>
Date: Sat, 24 Aug 2024 11:47:21 +0200
Subject: [PATCH] addonManagement
---
.../org/mozilla/fenix/addons/AddonsManagementFragment.kt | 8 ++++----
app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt | 2 +-
2 files changed, 5 insertions(+), 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 9c8bf3f0a2..3ea336b6e7 100644
--- a/app/src/main/java/org/mozilla/fenix/addons/AddonsManagementFragment.kt
+++ b/app/src/main/java/org/mozilla/fenix/addons/AddonsManagementFragment.kt
@@ -144,10 +144,10 @@ class AddonsManagementFragment : Fragment(R.layout.fragment_add_ons_management)
showAlertDialog()
true
}
- R.id.addons_sideload -> {
- installFromFile()
- 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 749e3828f7..c2c3d33abc 100644
--- a/app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt
+++ b/app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt
@@ -897,7 +897,7 @@ class HomeFragment : Fragment() {
}
},
),
- showTopRecentSites = settings.showTopRecentSites,
+// showTopRecentSites = settings.showTopRecentSites,
)
}
--
2.34.1