From 7180c99e427c63b27c3a8c08d0fa5196898c90ed Mon Sep 17 00:00:00 2001 From: Mateusz Konieczny Date: Mon, 1 Jul 2019 17:35:04 +0200 Subject: [PATCH] use available function makes easier to find this function when coding a specal handling in one of quests --- .../streetcomplete/quests/AbstractQuestAnswerFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/de/westnordost/streetcomplete/quests/AbstractQuestAnswerFragment.kt b/app/src/main/java/de/westnordost/streetcomplete/quests/AbstractQuestAnswerFragment.kt index 5e37f4e4f1..e10883f404 100644 --- a/app/src/main/java/de/westnordost/streetcomplete/quests/AbstractQuestAnswerFragment.kt +++ b/app/src/main/java/de/westnordost/streetcomplete/quests/AbstractQuestAnswerFragment.kt @@ -223,7 +223,7 @@ abstract class AbstractQuestAnswerFragment : AbstractBottomSheetFragment() { AlertDialog.Builder(context!!) .setTitle(R.string.quest_leave_new_note_title) .setMessage(R.string.quest_leave_new_note_description) - .setNegativeButton(R.string.quest_leave_new_note_no) { _, _ -> questAnswerComponent.onSkippedQuest() } + .setNegativeButton(R.string.quest_leave_new_note_no) { _, _ -> skipQuest() } .setPositiveButton(R.string.quest_leave_new_note_yes) { _, _ -> val questTitle = englishResources.getQuestTitle(questType, osmElement, featureDictionaryFuture) questAnswerComponent.onComposeNote(questTitle)