File tree Expand file tree Collapse file tree
AnkiDroid/src/main/java/com/ichi2/anki/browser Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -99,6 +99,8 @@ class FindAndReplaceDialogFragment : AnalyticsDialogFragment() {
9999 }
100100 }
101101
102+ // TODO maybe get rid of the html tags that come with the backend strings and handle the
103+ // sentence case for TR.browsingReplaceWith()
102104 private fun setupLabels () {
103105 binding.labelFind.text =
104106 HtmlCompat .fromHtml(TR .browsingFind(), HtmlCompat .FROM_HTML_MODE_LEGACY )
@@ -218,7 +220,10 @@ class FindAndReplaceDialogFragment : AnalyticsDialogFragment() {
218220 ): FindAndReplaceDialogFragment {
219221 val file = IdsFile (context.cacheDir, noteIds, " find-replace" )
220222 return FindAndReplaceDialogFragment ().apply {
221- arguments = bundleOf(ARG_IDS to file)
223+ arguments =
224+ Bundle ().apply {
225+ putParcelable(ARG_IDS , file)
226+ }
222227 }
223228 }
224229 }
You can’t perform that action at this time.
0 commit comments