mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
Merge pull request #197 from Ebullioscopic/feature/clipboard
Update clipboard
This commit is contained in:
commit
c45390408c
1 changed files with 5 additions and 0 deletions
|
|
@ -445,6 +445,11 @@ struct NotchClipboardList: View {
|
||||||
.onChange(of: showClearHistoryAlert) { _, isShowing in
|
.onChange(of: showClearHistoryAlert) { _, isShowing in
|
||||||
vm.setAutoCloseSuppression(isShowing, token: autoCloseToken)
|
vm.setAutoCloseSuppression(isShowing, token: autoCloseToken)
|
||||||
}
|
}
|
||||||
|
.onAppear {
|
||||||
|
if !clipboardManager.isMonitoring {
|
||||||
|
clipboardManager.startMonitoring()
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private func updateSuppression(for hovering: Bool) {
|
private func updateSuppression(for hovering: Bool) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue