From c4e3f72be12063cff5c783395267bb074bc032af Mon Sep 17 00:00:00 2001 From: Alex Baker Date: Sat, 18 Jul 2020 08:13:20 -0500 Subject: [PATCH] Fix compile --- .../java/org/tasks/preferences/fragments/Synchronization.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/tasks/preferences/fragments/Synchronization.kt b/app/src/main/java/org/tasks/preferences/fragments/Synchronization.kt index 6d0abc837..8ca6fe597 100644 --- a/app/src/main/java/org/tasks/preferences/fragments/Synchronization.kt +++ b/app/src/main/java/org/tasks/preferences/fragments/Synchronization.kt @@ -80,7 +80,7 @@ class Synchronization : InjectingPreferenceFragment() { findPreference(R.string.add_account) .setOnPreferenceClickListener { - AddAccountDialog.showAddAccountDialog(activity, dialogBuilder) + AddAccountDialog.showAddAccountDialog(requireActivity(), dialogBuilder) false } }