50 Commits (master)
 

Author SHA1 Message Date
Lonami Exo 49fa3c4d5a Render formatted text in the ChatScreen 1 year ago
Lonami Exo d350d1a048 Load messages from API 1 year ago
Lonami Exo 43421f6e54 Use UDL interface to avoid passing around pointers 1 year ago
Lonami Exo 912949a079 Use snake_case in UDL
uniffi automatically converts to camelCase for Kotlin,
but it won't convert to snake_case for Rust.
1 year ago
Lonami Exo 1574ce683c Inline native methods
The split no longer makes sense now that uniffi is the bridge.
1 year ago
Lonami Exo d11a00d062 Make use of errors in the UDL 1 year ago
Lonami Exo 004a921299 Use UDL dictionaries to simplify return values 1 year ago
Lonami Exo 1a56b03614 Move MessageAck enum to UDL 1 year ago
Lonami Exo 812597f027 Replace manual native bindings with UniFFI 1 year ago
Lonami Exo fd1dac1045 Use trailing comma to improve future diffs 1 year ago
Lonami Exo b5dddcef02 Add missing modifier use for TopAppBar 1 year ago
Lonami Exo ea53d3cb1d Add modifier parameter to composables
For context, see:
https://android.googlesource.com/platform/frameworks/support/+/androidx-main/compose/docs/compose-api-guidelines.md#elements-accept-and-respect-a-modifier-parameter

> Element functions MUST accept a parameter of type Modifier.
> This parameter MUST be named modifier and MUST appear as the
> first optional parameter in the element function's parameter list
1 year ago
Lonami Exo da136a1990 Add a navigation drawer 1 year ago
Lonami Exo 35ed8e12c6 Remove unnecessary Card for Dialog 1 year ago
Lonami Exo 0db1599cf7 Remove unnecessary comments from template and stray semicolon 1 year ago
Lonami Exo 50a2403a85 Reformat code in theme package 1 year ago
Lonami Exo 07d0e5e505 Wrap freeDialogs call inside a finally block
For instance, LocalDateTime.parse could fail,
and then the dialogs would be leaked.
1 year ago
Lonami Exo 442b019134 Load more dialog data from the API 1 year ago
Lonami Exo 51ef704cf7 Improve dialog screen by displaying more info 1 year ago
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.
1 year ago
Lonami Exo 6c652e3e1b Fix references to DialogRepository and other imports 1 year ago
Lonami Exo 999c59e9ec Create a separate package for UI screens and state 1 year ago
Lonami Exo c627db973c Rename model package to models for consistency 1 year ago
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.
1 year ago
Lonami Exo 189c1e8db8 Use mock dialog values in preview 1 year ago
Lonami Exo 7bfbcc955c Add env var to support connecting to test servers 1 year ago
Lonami Exo 0f412f7334 Load API ID and hash from env 1 year ago
Lonami Exo a341466749 Don't show login screen when already logged in 1 year ago
Lonami Exo cd37c5aa14 Run cargo fmt on the project
IDE Action on Save seemed to be messing with the ordering.
1 year ago
Lonami Exo 0919c4a13c Persist and load login details to a local database 1 year ago
Lonami Exo 5e1f253dd3 Build Rust side only for arm64
This reduces the build time since the other targets are unused.
1 year ago
Lonami Exo f2cd0eb69a Remove unnecessary Box roundtrip in Dialog accessors 1 year ago
expectocode e1985e8c73 Mark gradlew as executable 1 year ago
tan 5cff07bc6e Add a touch more detail to readme instructions (#1)
Co-authored-by: expectocode <expectocode@gmail.com>
Reviewed-on: #1
1 year ago
Lonami Exo 476f80cb5e Integrate with Telegram's API 1 year ago
Lonami Exo 9c33d1fbb0 Add dependency on native Rust project 1 year ago
Lonami Exo fee6c52606 Add navigation 1 year ago
Lonami Exo ae7aa10748 Commit gradle migration settings 1 year ago
Lonami Exo 6e856fa70f Use atomic state update in chat view model 1 year ago
Lonami Exo 57cc2119dd Scroll to the bottom on sending a message 1 year ago
Lonami Exo 29c164c4ae Add a text field to send messages 1 year ago
Lonami Exo 3a8b2b4e32 Create view models for chat and dialog UI 1 year ago
Lonami Exo aeaf831edb Separate screen code into different files 1 year ago
Lonami Exo ec3ca82d59 Add scroll list with sample messages 1 year ago
Lonami Exo 97269ddb3f Add scroll list with sample dialogs 1 year ago
Lonami Exo f8fcf8b642 Clear keyboard focus once inputs are done 1 year ago
Lonami Exo e8624b5635 Add a TextField asking for OTP 1 year ago
Lonami Exo 104d0cabad Add a TextField asking for phone number 1 year ago
Lonami Exo b30caa41f6 Bump dependencies 1 year ago
Lonami Exo 0abdd79f72 Initial Commit 1 year ago