diff --git a/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/release/NewReleaseInfoFragment.kt b/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/release/NewReleaseInfoFragment.kt index f87d8647211..e0a96a531da 100644 --- a/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/release/NewReleaseInfoFragment.kt +++ b/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/release/NewReleaseInfoFragment.kt @@ -74,11 +74,12 @@ class NewReleaseInfoFragment : Fragment(R.layout.new_release_info_screen_fragmen } } + // TODO: (Temporary) - add the first element back after 2.19 is released private fun getItems(): List { - val titles = resources.getStringArray(R.array.new_release_title) - val textBodies = resources.getStringArray(R.array.new_release_body) - val linkifiedLabels = resources.getStringArray(R.array.new_release_linkified_labels) - val linkTargets = resources.getStringArray(R.array.new_release_target_urls) + val titles = resources.getStringArray(R.array.new_release_title).drop(1).toTypedArray() + val textBodies = resources.getStringArray(R.array.new_release_body).drop(1).toTypedArray() + val linkifiedLabels = resources.getStringArray(R.array.new_release_linkified_labels).drop(1).toTypedArray() + val linkTargets = resources.getStringArray(R.array.new_release_target_urls).drop(1).toTypedArray() return vm.getItems(titles, textBodies, linkifiedLabels, linkTargets) }