From 4e8390d233799a8d13df2294b007ab9ace3a3a33 Mon Sep 17 00:00:00 2001 From: joragua Date: Thu, 3 Oct 2024 11:47:53 +0200 Subject: [PATCH] refactor: removed release notes titles and subtitles from strings file --- .../releasenotes/ReleaseNotesViewModel.kt | 8 +++++++- owncloudApp/src/main/res/values/strings.xml | 11 ----------- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/owncloudApp/src/main/java/com/owncloud/android/presentation/releasenotes/ReleaseNotesViewModel.kt b/owncloudApp/src/main/java/com/owncloud/android/presentation/releasenotes/ReleaseNotesViewModel.kt index 8557cda9fa1..cf913b0d2ad 100644 --- a/owncloudApp/src/main/java/com/owncloud/android/presentation/releasenotes/ReleaseNotesViewModel.kt +++ b/owncloudApp/src/main/java/com/owncloud/android/presentation/releasenotes/ReleaseNotesViewModel.kt @@ -44,6 +44,12 @@ class ReleaseNotesViewModel( } companion object { - val releaseNotesList : List = emptyList() + val releaseNotesList = listOf ( + ReleaseNote( + title = R.string.release_notes_bugfixes_title, + subtitle = R.string.release_notes_bugfixes_subtitle, + type = ReleaseNoteType.BUGFIX + ), + ) } } diff --git a/owncloudApp/src/main/res/values/strings.xml b/owncloudApp/src/main/res/values/strings.xml index eb7bff77be7..330de68d944 100644 --- a/owncloudApp/src/main/res/values/strings.xml +++ b/owncloudApp/src/main/res/values/strings.xml @@ -725,20 +725,9 @@ Thank you for using %1$s.\n❤ Proceed Release note icon - - Improvements in accessibility - Some improvements to make the application more accessible - Auto uploads more consistent - Added some mechanisms over retries to improve reliability - Improvements in private shares - The \"can share\" option is now only shown when editing a private share if the user is able to edit it Minor bugfixes Some bugs were fixed to improve experience in the app - List filtering after rotating device - Configuration changes have been handled when rotating the device so that list filtering works - Audio player problems - Devices with Android 14+ can now play correctly audio files in the app Open in web