Skip to content

Commit

Permalink
Disable GCVote for all users (+ per default) (rel. to #13599)
Browse files Browse the repository at this point in the history
  • Loading branch information
moving-bits committed Nov 6, 2022
1 parent 264387a commit aca8838
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion main/res/values/preference_keys.xml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@

<!-- settings for gcvote.com screen -->
<string translatable="false" name="preference_screen_gcvote">preference_screen_gcvote</string>
<string translatable="false" name="pref_ratingwanted">ratingwanted</string>
<string translatable="false" name="pref_ratingwanted">useGCVote</string>
<string translatable="false" name="pref_fakekey_gcvote_authorization">fakekey_gcvote_authorization</string>
<string translatable="false" name="pref_fakekey_gcvote_website">fakekey_gcvote_website</string>

Expand Down
2 changes: 1 addition & 1 deletion main/res/xml/preferences_services_gcvote_com.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
android:title="@string/settings_settings"
app:iconSpaceReserved="false" >
<CheckBoxPreference
android:defaultValue="true"
android:defaultValue="false"
android:key="@string/pref_ratingwanted"
android:summary="@string/init_summary_ratingwanted"
android:title="@string/init_ratingwanted"
Expand Down
2 changes: 1 addition & 1 deletion main/src/cgeo/geocaching/settings/Settings.java
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,7 @@ public static boolean isStoreLogImages() {
}

public static boolean isRatingWanted() {
return getBoolean(R.string.pref_ratingwanted, true);
return getBoolean(R.string.pref_ratingwanted, false);
}

public static boolean isGeokretyConnectorActive() {
Expand Down

0 comments on commit aca8838

Please sign in to comment.