From cbf405fb16fb919285beba0bae5dc1b792ef7469 Mon Sep 17 00:00:00 2001 From: sadorowo Date: Fri, 10 May 2024 20:22:58 +0200 Subject: [PATCH] apply mod changes to original repository --- app/build.gradle | 8 ++++---- .../domain/messages/GetMailboxByStudentUseCase.kt | 2 +- app/src/main/play/release-notes/pl-PL/default.txt | 4 ++-- app/src/main/res/values/strings.xml | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 53991c6f..a741f8d2 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -27,8 +27,8 @@ android { testApplicationId "io.github.tests.wulkanowy" minSdkVersion 21 targetSdkVersion 34 - versionCode 162 - versionName "2.6.2" + versionCode 164 + versionName "2.6.4" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" resValue "string", "app_name", "Wulkanowy" @@ -161,7 +161,7 @@ play { track = 'production' releaseStatus = ReleaseStatus.IN_PROGRESS userFraction = 0.99d - updatePriority = 5 + updatePriority = 4 enabled.set(false) } @@ -191,7 +191,7 @@ ext { } dependencies { - implementation 'io.github.wulkanowy:sdk:2.6.1' + implementation 'io.github.wulkanowy:sdk:2.6.3' coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.4' diff --git a/app/src/main/java/io/github/wulkanowy/domain/messages/GetMailboxByStudentUseCase.kt b/app/src/main/java/io/github/wulkanowy/domain/messages/GetMailboxByStudentUseCase.kt index 669514aa..8f25eba1 100644 --- a/app/src/main/java/io/github/wulkanowy/domain/messages/GetMailboxByStudentUseCase.kt +++ b/app/src/main/java/io/github/wulkanowy/domain/messages/GetMailboxByStudentUseCase.kt @@ -59,7 +59,7 @@ class GetMailboxByStudentUseCase @Inject constructor( private fun String.getUnauthorizedVersion(): String { return normalizeStudentName().split(" ") .joinToString(" ") { - it.first() + "*".repeat(it.length - 1) + it.firstOrNull()?.toString().orEmpty() + "*".repeat((it.length - 1).coerceAtLeast(0)) } } } diff --git a/app/src/main/play/release-notes/pl-PL/default.txt b/app/src/main/play/release-notes/pl-PL/default.txt index 5ad42d34..523f9764 100644 --- a/app/src/main/play/release-notes/pl-PL/default.txt +++ b/app/src/main/play/release-notes/pl-PL/default.txt @@ -1,5 +1,5 @@ -Wersja 2.6.1 +Wersja 2.6.4 -— obeszliśmy próby zablokowania naszej aplikacji w dostępie do danych ucznia i wiadomości (ale nie wiemy, czy eduOne działa) +— naprawiliśmy dostęp do modułu ucznia i modułu wiadomości po kolejnej próbie blokady nas (niestety jeszcze bez nowego modułu ucznia) Pełna lista zmian: https://github.com/wulkanowy/wulkanowy/releases diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 1696fe48..2a015f29 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -28,7 +28,7 @@ Student info Dashboard Notifications center - Menu configuartion + Menu configuration