Rename to textInput
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user