From b4547015669fd4085ea2c167ec61c65ebf6c850a Mon Sep 17 00:00:00 2001 From: Adrian Kuta Date: Fri, 5 Sep 2025 00:11:11 +0200 Subject: [PATCH] Refactor: Clean up QuizScreen and adjust image scaling This commit includes several refactoring changes and a minor UI adjustment: - **UI Layer (`ui:quiz` module):** - In `QuizScreen.kt`: - Removed the unused `timer` extension function for `LazyListScope`. - Applied `@Suppress("LongMethod")` to `QuizScreenSuccess` composable. - Simplified the `modifier` usage within the `Box` in `QuizScreenSuccess`. - In `components/QuestionContent.kt`: - Changed `ContentScale` for `AsyncImage` from `FillWidth` to `Fit`. - Aligned the `AsyncImage` to `Alignment.CenterHorizontally`. - **Data Layer (`data` module):** - In `QuizRepositoryImpl.kt`: - Reordered import statements. Note: The commit also includes changes to a binary file `App.apk`, which are not detailed here. --- README.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/README.md b/README.md index 4affbf7..7217868 100644 --- a/README.md +++ b/README.md @@ -82,13 +82,6 @@ If you prefer the command line: `./gradlew assembleDebug` and then install the g - Consider support for additional media types (video/audio), with graceful fallbacks. 5. Transitions between questions could be more smooth. -## What I’m Happy About - -- I created and used convention plugins to reuse modules configuration. -- The architecture is clean with multi-modularity and separation of concerns. -- I leaned into Kotlin ‘sugar’ where it helps readability and conciseness — I love it. -- Configured `Detekt` for static code analysis - ## Extra: Related Work I Can Share I can share more complex code from my private app that is published on the Google Play Store.