Refactor code structure and remove redundant sections for improved readability and maintainability
All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 47s

This commit is contained in:
Torsten Schulz (local)
2026-05-18 13:01:35 +02:00
parent 197f06989f
commit b9bbd45ae9
27 changed files with 18 additions and 12 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 KiB

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 151 KiB

After

Width:  |  Height:  |  Size: 151 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

View File

@@ -1,7 +1,7 @@
[versions]
# composeApp (Play Store / „Über die App“-Build)
appVersionCode = "9"
appVersionName = "1.3.3"
appVersionCode = "11"
appVersionName = "1.4.1"
agp = "9.2.1"
android-compileSdk = "35"
android-minSdk = "24"

View File

@@ -16,6 +16,9 @@ magick "$SRC" -resize 162x162! -filter Lanczos "$RES/drawable-hdpi/ic_launcher
magick "$SRC" -resize 216x216! -filter Lanczos "$RES/drawable-xhdpi/ic_launcher_foreground.png"
magick "$SRC" -resize 324x324! -filter Lanczos "$RES/drawable-xxhdpi/ic_launcher_foreground.png"
magick "$SRC" -resize 432x432! -filter Lanczos "$RES/drawable-xxxhdpi/ic_launcher_foreground.png"
# Erzeuge zusätzlich ein 512x512 PNG für den Play Store (Upload-Icon)
mkdir -p "$ROOT/mobile-app/composeApp/playstore"
magick "$SRC" -resize 512x512! -filter Lanczos "$ROOT/mobile-app/composeApp/playstore/ic_launcher_foreground_512.png"
magick "$SRC" -resize 48x48! -filter Lanczos "$RES/mipmap-mdpi/ic_launcher.png"
magick "$SRC" -resize 72x72! -filter Lanczos "$RES/mipmap-hdpi/ic_launcher.png"
magick "$SRC" -resize 96x96! -filter Lanczos "$RES/mipmap-xhdpi/ic_launcher.png"

View File

@@ -12,7 +12,7 @@ class AuthApi(
) {
suspend fun login(email: String, password: String): LoginResponse {
return client.http.post("/api/auth/login") {
setBody(LoginRequest(email = email, password = password))
setBody(LoginRequest(email = email, password = password, rememberMe = true))
}.body()
}
@@ -20,4 +20,3 @@ class AuthApi(
client.http.post("/api/auth/logout")
}
}

View File

@@ -6,5 +6,5 @@ import kotlinx.serialization.Serializable
data class LoginRequest(
val email: String,
val password: String,
val rememberMe: Boolean = false,
)