Skip to content

Commit

Permalink
Suppress setTargetFragment because of missing solution
Browse files Browse the repository at this point in the history
  • Loading branch information
cyb3rko committed Jul 24, 2023
1 parent 08cd963 commit 74e1be1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ internal class SettingsActivity : AppCompatActivity(), OnSharedPreferenceChangeL
private fun showListPreferenceDialog(preference: ListPreference) {
val dialogFragment = MaterialListPreference()
dialogFragment.arguments = Bundle(1).apply { putString("key", preference.key) }
@Suppress("DEPRECATION") // https://issuetracker.google.com/issues/181793702#comment3
dialogFragment.setTargetFragment(this, 0)
dialogFragment.show(
parentFragmentManager,
Expand Down

0 comments on commit 74e1be1

Please sign in to comment.