Skip to content
This repository has been archived by the owner on Aug 19, 2023. It is now read-only.

Commit

Permalink
Add link to GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
d4rken committed Oct 4, 2021
1 parent 58aa669 commit 68ef3da
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 4 deletions.
9 changes: 9 additions & 0 deletions app/src/main/res/drawable/ic_baseline_source_24.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="#FFFFFF"
android:pathData="M20,6h-8l-2,-2H4C2.9,4 2.01,4.9 2.01,6L2,18c0,1.1 0.9,2 2,2h16c1.1,0 2,-0.9 2,-2V8C22,6.9 21.1,6 20,6zM14,16H6v-2h8V16zM18,12H6v-2h12V12z" />
</vector>
16 changes: 12 additions & 4 deletions app/src/main/res/xml/settings_core.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,23 @@
android:summary="@string/description_call_autostart"
android:title="@string/label_call_autostart"/>
</PreferenceCategory>
<PreferenceCategory
android:title="@string/label_category_other">
<PreferenceCategory android:title="@string/label_category_other">
<Preference
android:icon="@drawable/ic_info_white_24dp"
android:key="core.version"
android:title="@string/app_name">
<intent
android:action="android.intent.action.VIEW"
android:data="https://play.google.com/store/apps/details?id=eu.thedarken.wldonate"/>
android:data="https://play.google.com/store/apps/details?id=eu.thedarken.wldonate" />
</Preference>
<Preference
android:icon="@drawable/ic_baseline_source_24"
android:key="core.github"
android:summary="https://github.com/d4rken/wakelock-revamp"
android:title="GitHub">
<intent
android:action="android.intent.action.VIEW"
android:data="https://github.com/d4rken/wakelock-revamp" />
</Preference>
<Preference
android:icon="@drawable/ic_data_usage_white_24dp"
Expand All @@ -32,7 +40,7 @@
android:title="@string/label_privacy_policy">
<intent
android:action="android.intent.action.VIEW"
android:data="https://raw.githubusercontent.com/d4rken/wakelock-revamp/master/PRIVACY_POLICY_GPLAY.md"/>
android:data="https://raw.githubusercontent.com/d4rken/wakelock-revamp/master/PRIVACY_POLICY_GPLAY.md" />
</Preference>
<Preference
android:icon="@drawable/ic_web_white_24dp"
Expand Down

0 comments on commit 68ef3da

Please sign in to comment.