Skip to content

Commit

Permalink
remove 'request a unit' option
Browse files Browse the repository at this point in the history
  • Loading branch information
physphil committed Apr 25, 2021
1 parent 586ef19 commit f41658c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,6 @@ public void onCreate(Bundle savedInstanceState) {
addPreferencesFromResource(R.xml.preferences);

// Add listeners to preferences
Preference unitRequest = findPreference("unit_request");
unitRequest.setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() {
@Override
public boolean onPreferenceClick(Preference preference) {
requestUnit();
return true;
}
});

Preference rateApp = findPreference("rate_app");
rateApp.setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() {
@Override
Expand Down
5 changes: 0 additions & 5 deletions app/src/main/res/xml/preferences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,6 @@
android:title="@string/prefs_title_acknowledgements"
android:summary="@string/prefs_summary_acknowledgements"/>

<Preference
android:key="unit_request"
android:title="@string/prefs_title_unit_request"
android:summary="@string/prefs_summary_unit_request"/>

<Preference
android:key="rate_app"
android:title="@string/prefs_title_rate"
Expand Down

0 comments on commit f41658c

Please sign in to comment.