mirror of
https://github.com/FossifyOrg/File-Manager.git
synced 2026-11-03 19:44:34 -05:00
fix: migrate to commons 7.1.0
This commit is contained in:
1 parent
a5d92c7f76
commit
e299956da2
5 files changed
+5
-7
No files matched your search
@@ -82,7 +82,6 @@ android {
|
||||
|
||||
flavorDimensions.add("variants")
|
||||
productFlavors {
|
||||
register("core")
|
||||
register("foss")
|
||||
register("gplay")
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<bool name="show_donate_in_about">true</bool>
|
||||
<bool name="hide_google_relations">true</bool>
|
||||
<bool name="pretend_thank_you_installed">true</bool>
|
||||
<bool name="is_google_play_build">false</bool>
|
||||
</resources>
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<bool name="show_donate_in_about">false</bool>
|
||||
<bool name="hide_google_relations">false</bool>
|
||||
<bool name="is_google_play_build">true</bool>
|
||||
</resources>
|
||||
@@ -211,7 +211,7 @@ class MainActivity : SimpleActivity() {
|
||||
|
||||
findItem(R.id.column_count).isVisible = currentViewType == VIEW_TYPE_GRID && currentFragment !is StorageFragment
|
||||
|
||||
findItem(R.id.more_apps_from_us).isVisible = !resources.getBoolean(R.bool.hide_google_relations)
|
||||
findItem(R.id.more_apps_from_us).isVisible = resources.getBoolean(R.bool.is_google_play_build)
|
||||
findItem(R.id.settings).isVisible = !isCreateDocumentIntent
|
||||
findItem(R.id.about).isVisible = !isCreateDocumentIntent
|
||||
}
|
||||
@@ -584,7 +584,7 @@ class MainActivity : SimpleActivity() {
|
||||
FAQItem(R.string.faq_9_title_commons, R.string.faq_9_text_commons)
|
||||
)
|
||||
|
||||
if (!resources.getBoolean(R.bool.hide_google_relations)) {
|
||||
if (resources.getBoolean(R.bool.is_google_play_build)) {
|
||||
faqItems.add(FAQItem(R.string.faq_2_title_commons, R.string.faq_2_text_commons))
|
||||
faqItems.add(FAQItem(R.string.faq_6_title_commons, R.string.faq_6_text_commons))
|
||||
faqItems.add(FAQItem(R.string.faq_7_title_commons, R.string.faq_7_text_commons))
|
||||
|
||||
@@ -8,7 +8,7 @@ detektCompose = "0.4.28"
|
||||
androidx-swiperefreshlayout = "1.2.0"
|
||||
androidx-documentfile = "1.1.0"
|
||||
#Fossify
|
||||
commons = "6.1.6"
|
||||
commons = "7.1.0"
|
||||
#Other
|
||||
autofittextview = "0.2.1"
|
||||
gestureviews = "2.9.0"
|
||||
|
||||
Reference in new issue
Block a user