Skip to content

Commit

Permalink
Disable Message mode button
Browse files Browse the repository at this point in the history
  • Loading branch information
kugel3 committed Jun 7, 2023
1 parent a33eb16 commit 2bf007d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ public struct AssetTransferMessage: Sendable, FeatureReducer {
public func reduce(into state: inout State, viewAction: ViewAction) -> EffectTask<Action> {
switch viewAction {
case .messageKindTapped:
// FIXME: Enable once the `messageMode` is implemented
// state.destination = .messageMode(.init())
state.destination = .messageMode(.init())
return .none

case .removeMessageTapped:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,18 @@ extension AssetTransferMessage.View {

VStack(alignment: .leading, spacing: 0) {
HStack {
// FIXME: Uncomment and implement once messageKind is implemented
// Button {
// viewStore.send(.messageKindTapped)
// } label: {
// HStack {
// Text(L10n.Common.public)
// Image(asset: AssetResource.chevronDown)
// }
// }
Text(L10n.Common.public)
// FIXME: Enable once messageKind is implemented
// Button {
// viewStore.send(.messageKindTapped)
// } label: {
// HStack {
// Text(L10n.Common.public)
// Image(asset: AssetResource.chevronDown)
// }
// }
// .textStyle(.body1HighImportance)
// .foregroundColor(.app.gray1)
.textStyle(.body1HighImportance)
.foregroundColor(.app.gray1)

Spacer()

Expand Down

0 comments on commit 2bf007d

Please sign in to comment.