diff --git a/app/build.gradle b/app/build.gradle
index bc9a529a..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 163
- versionName "2.6.3"
+ versionCode 164
+ versionName "2.6.4"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
resValue "string", "app_name", "Wulkanowy"
@@ -191,7 +191,7 @@ ext {
}
dependencies {
- implementation 'io.github.wulkanowy:sdk:2.6.2'
+ 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 ebeb601a..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,7 +1,5 @@
-Wersja 2.6.2
+Wersja 2.6.4
-— naprawiliśmy wysyłanie wiadomości, które zepsuło się przez zmiany naszych milusińskich
-- naprawiliśmy ładowanie danych u użytkowników eduOne (ale tylko z jednym uczniem na koncie), powód zepsucia jak wyżej
-- naprawiliśmy logowanie do aplikacji na odmianach, gdzie jeszcze nasi milusińscy nie zepsuli dziennika (paradoksalnie)
+— 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 ed4f438c..4197c87e 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