This commit is contained in:
Benoit Marty 2020-09-11 10:49:54 +02:00
parent e997610ef2
commit da09df0e42

View file

@ -76,7 +76,7 @@ class VectorSettingsNotificationPreferenceFragment @Inject constructor(
val initialMode = vectorPreferences.getFdroidSyncBackgroundMode() val initialMode = vectorPreferences.getFdroidSyncBackgroundMode()
val dialogFragment = BackgroundSyncModeChooserDialog.newInstance(initialMode) val dialogFragment = BackgroundSyncModeChooserDialog.newInstance(initialMode)
dialogFragment.interactionListener = this dialogFragment.interactionListener = this
activity?.supportFragmentManager?.let {fm -> activity?.supportFragmentManager?.let { fm ->
dialogFragment.show(fm, "syncDialog") dialogFragment.show(fm, "syncDialog")
} }
true true