Skip to content

Commit 013bc7d

Browse files
Replaced campaignPreference with CAMPAIGNS_DEFAULT_PREFERENCE (commons-app#5357)
Co-authored-by: Kwong Yu Zhou <https://github.com/kwong-yu-zhou> Co-authored-by: Adam Jones <domdomegg+git@gmail.com>
1 parent 2d5b7cc commit 013bc7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/fr/free/nrw/commons/campaigns/CampaignView.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public void setCampaign(final Campaign campaign) {
6969
@Override public boolean onSwipe(final View view) {
7070
view.setVisibility(View.GONE);
7171
((BaseActivity) getContext()).defaultKvStore
72-
.putBoolean(campaignPreference, false);
72+
.putBoolean(CAMPAIGNS_DEFAULT_PREFERENCE, false);
7373
ViewUtil.showLongToast(getContext(),
7474
getResources().getString(R.string.nearby_campaign_dismiss_message));
7575
return true;

0 commit comments

Comments
 (0)