This commit enhances the user context management in UserInfoSheet and UserButtons components. - Removed unused parameters and improved the handling of user relationships in UserButtons. - Updated UserInfoSheet to fetch user data more efficiently and reflect relationship changes. - Introduced loading indicators for friend request actions in UserButtons to enhance user experience. - Adjusted ModalBottomSheet states in MemberListSheet and ChatRouterScreen to skip partially expanded states for better usability. - Cleaned up code and improved overall readability in the affected files. |
||
|---|---|---|
| .github/workflows | ||
| .idea | ||
| app | ||
| compliance | ||
| docs | ||
| gradle/wrapper | ||
| scripts | ||
| .editorconfig | ||
| .gitignore | ||
| .gitmodules | ||
| LICENCE | ||
| OFL.txt | ||
| README.md | ||
| build.gradle.kts | ||
| gradle.properties | ||
| gradlew | ||
| gradlew.bat | ||
| revoltbuild.properties.example | ||
| sentry.properties.example | ||
| settings.gradle.kts | ||
README.md
Peptide on Android
Description
This is the official Android app for the Peptide chat platform.
The codebase includes the app itself, as well as an internal library for interacting with the Peptide
API.
| Module | Package | Description |
|---|---|---|
:app |
chat.peptide |
The main app module. |
The API library is part of the app module, and is not intended to be used as a standalone library,
as it makes liberal use of Android-specific APIs for reactivity.
The app is written in Kotlin, and uses the Jetpack Compose UI toolkit, the current state of the art for Android UI development.
Stack
- Kotlin
- Jetpack Compose
- For some Material components, the View-based Material Components Android (MDC-Android) library is used.
- Ktor
- Dagger with Hilt
Resources
Peptide on Android
- Peptide on Android Technical Documentation
- Android-specific Contribution Guide —read carefully before contributing!
Peptide
- Peptide Project Board (Submit feature requests here)
- Peptide Testers Server
- General Peptide Contribution Guide
Quick Start
Open the project in Android Studio. You can then run the app on an emulator or a physical device by
running the app module.
In-depth setup instructions can be found at Setting up your Development Environment