File tree Expand file tree Collapse file tree
main/kotlin/org/fossify/notes/activities Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -85,7 +85,6 @@ android {
8585
8686 flavorDimensions.add(" variants" )
8787 productFlavors {
88- register(" core" )
8988 register(" foss" )
9089 register(" gplay" )
9190 }
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<resources >
33 <bool name =" show_donate_in_about" >true</bool >
4- <bool name =" hide_google_relations" >true</bool >
5- <bool name =" pretend_thank_you_installed" >true</bool >
4+ <bool name =" is_google_play_build" >false</bool >
65</resources >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<resources >
33 <bool name =" show_donate_in_about" >false</bool >
4- <bool name =" hide_google_relations " >false </bool >
4+ <bool name =" is_google_play_build " >true </bool >
55</resources >
Original file line number Diff line number Diff line change @@ -275,7 +275,7 @@ class MainActivity : SimpleActivity() {
275275 findItem(R .id.unlock_note).isVisible =
276276 mNotes.isNotEmpty() && (::mCurrentNote.isInitialized && mCurrentNote.isLocked())
277277 findItem(R .id.more_apps_from_us).isVisible =
278- ! resources.getBoolean(org.fossify.commons.R .bool.hide_google_relations )
278+ resources.getBoolean(org.fossify.commons.R .bool.is_google_play_build )
279279 findItem(R .id.delete_note).isVisible = ! isDefaultEmptyNote || mNotes.size > 1
280280
281281 saveNoteButton = findItem(R .id.save_note)
@@ -793,7 +793,7 @@ class MainActivity : SimpleActivity() {
793793 )
794794 )
795795
796- if (! resources.getBoolean(org.fossify.commons.R .bool.hide_google_relations )) {
796+ if (resources.getBoolean(org.fossify.commons.R .bool.is_google_play_build )) {
797797 faqItems.add(
798798 FAQItem (
799799 title = org.fossify.commons.R .string.faq_2_title_commons,
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ androidx-documentfile = "1.1.0"
1313# Room
1414room = " 2.8.5"
1515# Fossify
16- commons = " 6 .1.6 "
16+ commons = " 7 .1.0 "
1717# Gradle
1818gradlePlugins-agp = " 9.4.1"
1919# build
You can’t perform that action at this time.
0 commit comments