feat: add contact list screen (#22)

Reviewed-on: https://git.reya.su/reya/coop-mobile/pulls/22
This commit is contained in:
2026-06-15 07:38:53 +00:00
parent 938b192136
commit ea90a43909
7 changed files with 400 additions and 7 deletions
@@ -61,6 +61,7 @@ import su.reya.coop.LocalSnackbarHostState
import su.reya.coop.Screen
import su.reya.coop.shared.Avatar
import su.reya.coop.short
import kotlin.time.Duration.Companion.milliseconds
@OptIn(ExperimentalMaterial3ExpressiveApi::class)
@Composable
@@ -78,7 +79,7 @@ fun NewChatScreen() {
LaunchedEffect(query) {
if (query.length >= 3) {
delay(500) // 500ms debounce
delay(500.milliseconds)
if (query.startsWith("npub1")) {
val pubkey = try {