Rename to textInput
This commit is contained in:
1 parent
a8b824b2e1
commit
464445e45d
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -46,7 +46,7 @@ interface NostrRepository {
|
|||||||
|
|
||||||
suspend fun createNewTextNote(
|
suspend fun createNewTextNote(
|
||||||
publicKey: HexKey,
|
publicKey: HexKey,
|
||||||
text: String,
|
textInput: String,
|
||||||
inReplyToNostrEvent: LocalNostrEvent?,
|
inReplyToNostrEvent: LocalNostrEvent?,
|
||||||
quotedNostrEvent: LocalNostrEvent?,
|
quotedNostrEvent: LocalNostrEvent?,
|
||||||
onError: () -> Unit,
|
onError: () -> Unit,
|
||||||
@@ -145,7 +145,7 @@ interface NostrRepository {
|
|||||||
|
|
||||||
override suspend fun createNewTextNote(
|
override suspend fun createNewTextNote(
|
||||||
publicKey: HexKey,
|
publicKey: HexKey,
|
||||||
text: String,
|
textInput: String,
|
||||||
inReplyToNostrEvent: LocalNostrEvent?,
|
inReplyToNostrEvent: LocalNostrEvent?,
|
||||||
quotedNostrEvent: LocalNostrEvent?,
|
quotedNostrEvent: LocalNostrEvent?,
|
||||||
onError: () -> Unit,
|
onError: () -> Unit,
|
||||||
|
|||||||
+1
-1
@@ -138,7 +138,7 @@ class WriteNewNoteViewModel(
|
|||||||
viewModelScope.launch(Dispatchers.IO) {
|
viewModelScope.launch(Dispatchers.IO) {
|
||||||
nostrRepository.createNewTextNote(
|
nostrRepository.createNewTextNote(
|
||||||
publicKey = SeedManager.activePublicKey().toHexKey(),
|
publicKey = SeedManager.activePublicKey().toHexKey(),
|
||||||
text = writeNewNoteFormState.textField.text.value,
|
textInput = writeNewNoteFormState.textField.text.value,
|
||||||
inReplyToNostrEvent = inReplyToNostrEvent,
|
inReplyToNostrEvent = inReplyToNostrEvent,
|
||||||
quotedNostrEvent = quotedNostrEvent,
|
quotedNostrEvent = quotedNostrEvent,
|
||||||
onError = {
|
onError = {
|
||||||
|
|||||||
Reference in new issue
Block a user