File tree Expand file tree Collapse file tree 2 files changed +30
-2
lines changed
Expand file tree Collapse file tree 2 files changed +30
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,21 @@ import SwiftUI
99
1010struct FavoriteView : View {
1111 var body : some View {
12- Text ( " 중요 " )
12+ NavigationStack {
13+ List {
14+
15+ }
16+ . toolbar {
17+ ToolbarItem ( placement: . topBarLeading) {
18+ Text ( " Star " )
19+ }
20+ ToolbarItem ( placement: . topBarTrailing) {
21+ Button ( " 완료 숨기기 " ) {
22+
23+ }
24+ }
25+ }
26+ }
1327 }
1428}
1529
Original file line number Diff line number Diff line change @@ -9,7 +9,21 @@ import SwiftUI
99
1010struct MainView : View {
1111 var body : some View {
12- Text ( " 기본 " )
12+ NavigationStack {
13+ List {
14+
15+ }
16+ . toolbar {
17+ ToolbarItem ( placement: . topBarLeading) {
18+ Text ( " Todo " )
19+ }
20+ ToolbarItem ( placement: . topBarTrailing) {
21+ Button ( " 완료 숨기기 " ) {
22+
23+ }
24+ }
25+ }
26+ }
1327 }
1428}
1529
You can’t perform that action at this time.
0 commit comments