Skip to content

Commit

Permalink
Remove androidx.preference dependencies
Browse files Browse the repository at this point in the history
They are unnecessary and occupy a lot of space in the package.
  • Loading branch information
JingMatrix committed Dec 22, 2022
1 parent afe6e0b commit b2211c7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
7 changes: 0 additions & 7 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,4 @@ dependencies {

// To use Kotlin Symbol Processing (KSP)
ksp("androidx.room:room-compiler:$room_version")

val preference_version = "1.2.0"

// Java language implementation
implementation("androidx.preference:preference:$preference_version")
// Kotlin
implementation("androidx.preference:preference-ktx:$preference_version")
}
4 changes: 1 addition & 3 deletions app/src/main/res/xml/developer_preferences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,5 @@ found in the LICENSE file.
android:layout_height="wrap_content"
android:enabled="false"
android:key="beta_stable_hint"
android:title="Hint: You can also enable Developer options on Beta/Stable channels by tapping the Chrome version in "Settings > About Chrome" multiple times."
app:allowDividerAbove="false"
app:allowDividerBelow="false" />
android:title="Hint: You can also enable Developer options on Beta/Stable channels by tapping the Chrome version in "Settings > About Chrome" multiple times." />
</PreferenceScreen>

0 comments on commit b2211c7

Please sign in to comment.