Commit Graph

31 Commits (17d780565409b1d122827f1faa52f201487eed06)

Author SHA1 Message Date
Lonami Exo 17d7805654 Bump minSdk to 26
This lets us use LocalDate.
The minSdk can be turned back if needed but for now this simplifies things.
2022-10-23 19:06:18 +02:00
Lonami Exo 6c652e3e1b Fix references to DialogRepository and other imports 2022-10-21 20:34:25 +02:00
Lonami Exo 999c59e9ec Create a separate package for UI screens and state 2022-10-21 20:31:29 +02:00
Lonami Exo c627db973c Rename model package to models for consistency 2022-10-21 20:27:33 +02:00
Lonami Exo fc7dc68b62 Rename Source to Repository
This is more in line with the repository
google-developer-training/basic-android-kotlin-compose-training-mars-photos
which contains good practices.
2022-10-21 20:24:29 +02:00
Lonami Exo 189c1e8db8 Use mock dialog values in preview 2022-10-21 14:19:34 +02:00
Lonami Exo 7bfbcc955c Add env var to support connecting to test servers 2022-10-20 21:18:56 +02:00
Lonami Exo 0f412f7334 Load API ID and hash from env 2022-10-20 21:18:33 +02:00
Lonami Exo a341466749 Don't show login screen when already logged in 2022-10-20 20:35:07 +02:00
Lonami Exo cd37c5aa14 Run cargo fmt on the project
IDE Action on Save seemed to be messing with the ordering.
2022-10-20 20:06:22 +02:00
Lonami Exo 0919c4a13c Persist and load login details to a local database 2022-10-20 19:59:11 +02:00
Lonami Exo 5e1f253dd3 Build Rust side only for arm64
This reduces the build time since the other targets are unused.
2022-10-17 17:44:31 +02:00
Lonami Exo f2cd0eb69a Remove unnecessary Box roundtrip in Dialog accessors 2022-10-13 17:06:44 +02:00
expectocode e1985e8c73 Mark gradlew as executable 2022-10-12 22:36:57 +01:00
tan 5cff07bc6e Add a touch more detail to readme instructions (#1)
Co-authored-by: expectocode <expectocode@gmail.com>
Reviewed-on: #1
2022-10-12 23:25:41 +02:00
Lonami Exo 476f80cb5e Integrate with Telegram's API 2022-10-12 21:26:51 +02:00
Lonami Exo 9c33d1fbb0 Add dependency on native Rust project 2022-10-12 16:03:29 +02:00
Lonami Exo fee6c52606 Add navigation 2022-10-12 11:44:38 +02:00
Lonami Exo ae7aa10748 Commit gradle migration settings 2022-10-12 11:44:17 +02:00
Lonami Exo 6e856fa70f Use atomic state update in chat view model 2022-10-11 21:37:42 +02:00
Lonami Exo 57cc2119dd Scroll to the bottom on sending a message 2022-10-11 21:34:18 +02:00
Lonami Exo 29c164c4ae Add a text field to send messages 2022-10-11 21:26:11 +02:00
Lonami Exo 3a8b2b4e32 Create view models for chat and dialog UI 2022-10-11 20:58:40 +02:00
Lonami Exo aeaf831edb Separate screen code into different files 2022-10-11 20:10:31 +02:00
Lonami Exo ec3ca82d59 Add scroll list with sample messages 2022-10-11 18:10:54 +02:00
Lonami Exo 97269ddb3f Add scroll list with sample dialogs 2022-10-11 17:52:25 +02:00
Lonami Exo f8fcf8b642 Clear keyboard focus once inputs are done 2022-10-11 15:43:37 +02:00
Lonami Exo e8624b5635 Add a TextField asking for OTP 2022-10-11 15:40:11 +02:00
Lonami Exo 104d0cabad Add a TextField asking for phone number 2022-10-11 14:23:09 +02:00
Lonami Exo b30caa41f6 Bump dependencies 2022-10-11 10:56:06 +02:00
Lonami Exo 0abdd79f72 Initial Commit 2022-10-11 10:51:26 +02:00