mirror of
https://github.com/SimpleMobileTools/Simple-Calculator.git
synced 2025-06-05 21:49:13 +02:00
do not show some FAQ items at the fdroid app variant
This commit is contained in:
@ -160,11 +160,14 @@ class MainActivity : SimpleActivity(), Calculator {
|
|||||||
val faqItems = arrayListOf(
|
val faqItems = arrayListOf(
|
||||||
FAQItem(R.string.faq_1_title, R.string.faq_1_text),
|
FAQItem(R.string.faq_1_title, R.string.faq_1_text),
|
||||||
FAQItem(R.string.faq_1_title_commons, R.string.faq_1_text_commons),
|
FAQItem(R.string.faq_1_title_commons, R.string.faq_1_text_commons),
|
||||||
FAQItem(R.string.faq_4_title_commons, R.string.faq_4_text_commons),
|
FAQItem(R.string.faq_4_title_commons, R.string.faq_4_text_commons)
|
||||||
FAQItem(R.string.faq_2_title_commons, R.string.faq_2_text_commons),
|
|
||||||
FAQItem(R.string.faq_6_title_commons, R.string.faq_6_text_commons)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if (!resources.getBoolean(R.bool.hide_google_relations)) {
|
||||||
|
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))
|
||||||
|
}
|
||||||
|
|
||||||
startAboutActivity(R.string.app_name, licenses, BuildConfig.VERSION_NAME, faqItems, true)
|
startAboutActivity(R.string.app_name, licenses, BuildConfig.VERSION_NAME, faqItems, true)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user