Skip to content

Commit 845b138

Browse files
Remove Rate Us button from menu and update OSS Licenses plugin
- Removed the "Rate the app" button from the bottom sheet menu. - Updated the OSS Licenses plugin to version 0.10.8. - Removed the explicit `groovy-xml` dependency from the root `build.gradle` as it's no longer required by the updated OSS Licenses plugin.
1 parent f7da628 commit 845b138

File tree

4 files changed

+3
-46
lines changed

4 files changed

+3
-46
lines changed

app/src/main/res/layout/dialog_bottom_sheet_menu.xml

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -114,38 +114,7 @@
114114
</androidx.appcompat.widget.LinearLayoutCompat>
115115
</com.google.android.material.card.MaterialCardView>
116116

117-
<!-- Item 4: Rate the app -->
118-
<com.google.android.material.card.MaterialCardView
119-
android:id="@+id/menu_rate"
120-
style="@style/Widget.Material3.CardView.Outlined"
121-
android:layout_width="match_parent"
122-
android:layout_height="wrap_content"
123-
android:layout_marginVertical="4dp"
124-
android:clickable="true"
125-
android:focusable="true">
126-
127-
<androidx.appcompat.widget.LinearLayoutCompat
128-
android:layout_width="match_parent"
129-
android:layout_height="match_parent"
130-
android:gravity="center_vertical"
131-
android:orientation="horizontal"
132-
android:padding="16dp">
133-
134-
<com.google.android.material.imageview.ShapeableImageView
135-
android:layout_width="24dp"
136-
android:layout_height="24dp"
137-
android:layout_marginEnd="16dp"
138-
android:src="@drawable/ic_rate_review" />
139-
140-
<com.google.android.material.textview.MaterialTextView
141-
android:layout_width="wrap_content"
142-
android:layout_height="wrap_content"
143-
android:text="@string/rate_us"
144-
android:textAppearance="?attr/textAppearanceBodyLarge" />
145-
</androidx.appcompat.widget.LinearLayoutCompat>
146-
</com.google.android.material.card.MaterialCardView>
147-
148-
<!-- Item 5: Share -->
117+
<!-- Item 4: Share -->
149118
<com.google.android.material.card.MaterialCardView
150119
android:id="@+id/menu_share"
151120
style="@style/Widget.Material3.CardView.Outlined"

build.gradle

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,3 @@
1-
buildscript {
2-
repositories {
3-
google()
4-
mavenCentral()
5-
}
6-
dependencies {
7-
// The oss-licenses Gradle plugin still relies on XmlSlurper from groovy-xml when
8-
// running on recent Gradle versions, so we provide it explicitly on the classpath.
9-
classpath 'org.codehaus.groovy:groovy-xml:3.0.19'
10-
}
11-
}
12-
131
plugins {
142
alias(libs.plugins.androidApplication) apply false
153
alias(libs.plugins.googleServices) apply false

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
agp = "8.13.0"
33
firebaseCrashlyticsPlugin = "3.0.6"
44
googleServices = "4.4.3"
5-
ossLicensesPlugin = "0.10.6"
5+
ossLicensesPlugin = "0.10.8"
66
appcompat = "1.7.1"
77
appUpdate = "2.1.0"
88
billing = "8.0.0"

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ pluginManagement {
88
resolutionStrategy {
99
eachPlugin {
1010
if (requested.id.id == 'com.google.android.gms.oss-licenses-plugin') {
11-
useModule('com.google.android.gms:oss-licenses-plugin:0.10.6')
11+
useModule('com.google.android.gms:oss-licenses-plugin:0.10.8')
1212
}
1313
}
1414
}

0 commit comments

Comments
 (0)