Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

Commit

Permalink
v1.3.2: add comparison link in settings
Browse files Browse the repository at this point in the history
  • Loading branch information
v1nc committed Jan 21, 2020
1 parent e97ce63 commit 31064f7
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ android {
applicationId "de.reckendrees.systems.userjsupdater"
minSdkVersion 21
targetSdkVersion 28
versionCode 4
versionName '1.3'
versionCode 5
versionName '1.3.2'
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
<string name="user_url3">https://raw.githubusercontent.com/pyllyukko/user.js/master/user.js</string>
<string name="user_url4">https://git.nixnet.xyz/OrangeManBad/user.js/raw/branch/master/user.js</string>
<string name="user_url420">https://raw.githubusercontent.com/v1nc/user.js/master/user.js</string>
<string name="comparison_url">https://github.com/v1nc/user.js-updater/</string>
<string name="source_url">https://github.com/v1nc/user.js-updater/</string>
<string name="comparison_url">https://v1nc.github.io/comparison/</string>
<string name="filter_1">Update User.js filter</string>
<string name="title_activity_settings">SettingsActivity</string>

Expand Down
10 changes: 10 additions & 0 deletions app/src/main/res/xml/root_preferences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,16 @@
app:title="Source Code"
app:summary="View on Github!"
>
<intent
android:action="android.intent.action.VIEW"
android:data="@string/source_url"
/>
</Preference>
<Preference
app:key="comparison"
app:title="Compare configs"
app:summary="View live comparison of User.js configs"
>
<intent
android:action="android.intent.action.VIEW"
android:data="@string/comparison_url"
Expand Down

0 comments on commit 31064f7

Please sign in to comment.