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

Commit

Permalink
Update Sidebar.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
marshallino16 committed Apr 8, 2021
1 parent 0df3621 commit aeb70a4
Showing 1 changed file with 35 additions and 1 deletion.
36 changes: 35 additions & 1 deletion Snip/Components/Sidebar/Sidebar.swift
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,41 @@ struct Sidebar: View {
}
.popover(isPresented: $showSortOptions) {
VStack {
Text("Sort snippet by")
Group {
HStack {
Text("Sort snippet")
Spacer()
}
Divider()
HStack {
Button(action: {}) {
Text("Alphabeticaly")
}
.frame(width: 100)
Spacer()
}
HStack {
Button(action: {}) {
Text("Date creation")
}
.frame(width: 100)
Spacer()
}
HStack {
Button(action: {}) {
Text("Last update")
}
.frame(width: 100)
Spacer()
}
HStack {
Button(action: {}) {
Text("Folder first")
}
.frame(width: 100)
Spacer()
}
}
}
.padding(16)
.frame(width: 200)
Expand Down

0 comments on commit aeb70a4

Please sign in to comment.