Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Commit

Permalink
Add missing mappings for "Append to Note" action (#1139)
Browse files Browse the repository at this point in the history
Fixes #1136
  • Loading branch information
bfollington authored Mar 19, 2024
1 parent fd715b7 commit 27b06dd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions xcode/Subconscious/Shared/Components/HomeProfileView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ extension HomeProfileAction {
return .succeedUpdateAudience(receipt)
case let .succeedAssignNoteColor(address, color):
return .succeedAssignNoteColor(address, color)
case let .succeedAppendToEntry(address):
return .succeedAppendToEntry(address)
case let .succeedUpdateLikeStatus(address, liked):
return .succeedUpdateLikeStatus(address, liked: liked)
default:
Expand All @@ -242,6 +244,8 @@ extension AppAction {
return .updateAudience(address: address, audience: audience)
case let .requestAssignNoteColor(address, color):
return .assignColor(address: address, color: color)
case let .requestAppendToEntry(address, append):
return .appendToEntry(address: address, append: append)
case let .requestUpdateLikeStatus(address, liked):
return .setLiked(address: address, liked: liked)
default:
Expand Down
4 changes: 4 additions & 0 deletions xcode/Subconscious/Shared/Components/Notebook/Notebook.swift
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,8 @@ extension NotebookAction {
return .succeedUpdateAudience(receipt)
case let .succeedAssignNoteColor(address, color):
return .succeedAssignNoteColor(address, color)
case let .succeedAppendToEntry(address):
return .succeedAppendToEntry(address)
case let .succeedUpdateLikeStatus(address, liked):
return .succeedUpdateLikeStatus(address, liked: liked)
default:
Expand All @@ -314,6 +316,8 @@ extension AppAction {
return .updateAudience(address: address, audience: audience)
case let .requestAssignNoteColor(address, color):
return .assignColor(address: address, color: color)
case let .requestAppendToEntry(address, append):
return .appendToEntry(address: address, append: append)
case let .requestUpdateLikeStatus(address, liked):
return .setLiked(address: address, liked: liked)
default:
Expand Down

0 comments on commit 27b06dd

Please sign in to comment.