mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
added a separate tab view for clipboard and added the possibility to write notes
This commit is contained in:
parent
44c053a761
commit
4106e845ee
10 changed files with 688 additions and 6 deletions
|
|
@ -40,6 +40,12 @@ struct TabSelectionView: View {
|
|||
if Defaults[.enableStatsFeature] {
|
||||
tabsArray.append(TabModel(label: "Stats", icon: "chart.xyaxis.line", view: .stats))
|
||||
}
|
||||
|
||||
if Defaults[.enableNotes] || (Defaults[.enableClipboardManager] && Defaults[.clipboardDisplayMode] == .separateTab) {
|
||||
let label = Defaults[.enableNotes] ? "Notes" : "Clipboard"
|
||||
let icon = Defaults[.enableNotes] ? "note.text" : "doc.on.clipboard"
|
||||
tabsArray.append(TabModel(label: label, icon: icon, view: .notes))
|
||||
}
|
||||
|
||||
return tabsArray
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue