Skip to content

Commit

Permalink
Change donations to involvement
Browse files Browse the repository at this point in the history
  • Loading branch information
UriahShaulMandel committed Sep 8, 2021
1 parent 8a59676 commit 5e291ae
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -391,12 +391,11 @@ private void populateSettingsList() {

, R.drawable.info_on_button)
);
if (!BuildConfig.FLAVOR.equals("gPlay"))
mainCategory.add(
new RunnableSettingsItem(R.string.donate,
v -> startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("https://baldphone.com/support-us/"))),
R.drawable.donate_on_button)
);
mainCategory.add(
new RunnableSettingsItem(R.string.get_involved,
v -> startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("https://github.com/UriahShaulMandel/BaldPhone/blob/master/CONTRIBUTING.md"))),
R.drawable.contribute_on_button)
);
mainCategory.add(
new RunnableSettingsItem(R.string.technical_information,
v -> startActivity(new Intent(this, TechnicalInfoActivity.class)),
Expand Down
25 changes: 25 additions & 0 deletions app/src/main/res/drawable/contribute_on_button.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!--
~ Copyright 2019 Uriah Shaul Mandel
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="48dp"
android:height="48dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="?bald_decoration_on_key"
android:pathData="M11 6H14L17.29 2.7A1 1 0 0 1 18.71 2.7L21.29 5.29A1 1 0 0 1 21.29 6.7L19 9H11V11A1 1 0 0 1 10 12A1 1 0 0 1 9 11V8A2 2 0 0 1 11 6M5 11V15L2.71 17.29A1 1 0 0 0 2.71 18.7L5.29 21.29A1 1 0 0 0 6.71 21.29L11 17H15A1 1 0 0 0 16 16V15H17A1 1 0 0 0 18 14V13H19A1 1 0 0 0 20 12V11H13V12A2 2 0 0 1 11 14H9A2 2 0 0 1 7 12V9Z" />
</vector>
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@
<string name="appear_on_top_subtext">This permission is required on new version of android in order to show alarms and reminders when the screen is closed</string>

<string name="mail_application_not_found">Mail application not found!</string>
<string name="get_involved">Get Involved</string>

<string-array name="names_for_screenshots">
<item>The Godfather</item>
Expand Down

0 comments on commit 5e291ae

Please sign in to comment.