Skip to content

Commit 5875e40

Browse files
committed
Revert Help Modifier Changes
1 parent 83b9865 commit 5875e40

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Sources/CodeEditSourceEditor/Find/PanelView/FindControls.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ struct FindControls: View {
5757
Text("Done")
5858
}
5959
}
60-
.help("Done")
60+
.help(condensed ? "Done" : "")
6161
.padding(.horizontal, dynamicPadding)
6262
}
6363
.buttonStyle(PanelButtonStyle())

Sources/CodeEditSourceEditor/Find/PanelView/ReplaceControls.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ struct ReplaceControls: View {
3434
}
3535
.opacity(shouldDisableSingle ? 0.33 : 1)
3636
}
37-
.help("Replace")
37+
.help(condensed ? "Replace" : "")
3838
.disabled(shouldDisableSingle)
3939
.frame(maxWidth: .infinity)
4040

@@ -52,7 +52,7 @@ struct ReplaceControls: View {
5252
}
5353
.opacity(shouldDisableAll ? 0.33 : 1)
5454
}
55-
.help("Replace All")
55+
.help(condensed ? "Replace All" : "")
5656
.disabled(shouldDisableAll)
5757
.frame(maxWidth: .infinity)
5858
}

0 commit comments

Comments
 (0)