Rename to textInput

This commit is contained in:
Kgothatso Ngako
2026-04-27 20:13:20 +02:00
parent a8b824b2e1
commit 464445e45d
2 changed files with 3 additions and 3 deletions

View File

@@ -46,7 +46,7 @@ interface NostrRepository {
suspend fun createNewTextNote(
publicKey: HexKey,
text: String,
textInput: String,
inReplyToNostrEvent: LocalNostrEvent?,
quotedNostrEvent: LocalNostrEvent?,
onError: () -> Unit,
@@ -145,7 +145,7 @@ interface NostrRepository {
override suspend fun createNewTextNote(
publicKey: HexKey,
text: String,
textInput: String,
inReplyToNostrEvent: LocalNostrEvent?,
quotedNostrEvent: LocalNostrEvent?,
onError: () -> Unit,

View File

@@ -138,7 +138,7 @@ class WriteNewNoteViewModel(
viewModelScope.launch(Dispatchers.IO) {
nostrRepository.createNewTextNote(
publicKey = SeedManager.activePublicKey().toHexKey(),
text = writeNewNoteFormState.textField.text.value,
textInput = writeNewNoteFormState.textField.text.value,
inReplyToNostrEvent = inReplyToNostrEvent,
quotedNostrEvent = quotedNostrEvent,
onError = {