Skip to content
This repository was archived by the owner on Feb 23, 2026. It is now read-only.
/ harmonie Public archive

Commit 76161c1

Browse files
authored
Merge pull request #216 from makinosp/develop
update: bump up to 1.0.0
2 parents 1dcbb4f + 6b4aada commit 76161c1

File tree

5 files changed

+26
-26
lines changed

5 files changed

+26
-26
lines changed

Harmonie.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@
474474
"$(inherited)",
475475
"@executable_path/Frameworks",
476476
);
477-
MARKETING_VERSION = 0.10.0;
477+
MARKETING_VERSION = 1.0.0;
478478
PRODUCT_BUNDLE_IDENTIFIER = jp.mknn.harmonie;
479479
PRODUCT_NAME = "$(TARGET_NAME)";
480480
SWIFT_EMIT_LOC_STRINGS = YES;
@@ -510,7 +510,7 @@
510510
"$(inherited)",
511511
"@executable_path/Frameworks",
512512
);
513-
MARKETING_VERSION = 0.10.0;
513+
MARKETING_VERSION = 1.0.0;
514514
PRODUCT_BUNDLE_IDENTIFIER = jp.mknn.harmonie;
515515
PRODUCT_NAME = "$(TARGET_NAME)";
516516
SWIFT_EMIT_LOC_STRINGS = YES;

harmonie/Components/IconSet.swift

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ enum IconSet {
3333
static var edit: some Iconizable {
3434
Icon("pencil")
3535
}
36-
static var eye: some Iconizable {
37-
Icon("eye")
38-
}
3936
static var favorite: some Iconizable {
4037
Icon("star")
4138
}
@@ -57,6 +54,9 @@ enum IconSet {
5754
static var friends: some Iconizable {
5855
Icon("person.2")
5956
}
57+
static var friendsFilled: some Iconizable {
58+
Icon("person.2.fill")
59+
}
6060
static var heart: some Iconizable {
6161
Icon("heart.fill")
6262
}
@@ -93,6 +93,9 @@ enum IconSet {
9393
static var plusCircleFilled: some Iconizable {
9494
Icon("plus.circle.fill")
9595
}
96+
static var `private`: some Iconizable {
97+
Icon("person.fill.questionmark")
98+
}
9699
static var setting: some Iconizable {
97100
Icon("gear")
98101
}
@@ -103,6 +106,9 @@ enum IconSet {
103106
Icon("arrow.up.arrow.down")
104107
}
105108
static var social: some Iconizable {
109+
Icon("person.3")
110+
}
111+
static var socialFilled: some Iconizable {
106112
Icon("person.3.fill")
107113
}
108114
static var stopwatch: some Iconizable {
@@ -115,10 +121,10 @@ enum IconSet {
115121
Icon("arrow.up")
116122
}
117123
static var upload: some Iconizable {
118-
Icon("square.and.arrow.up")
124+
Icon("square.and.arrow.up.fill")
119125
}
120-
static var widebrim: some Iconizable {
121-
Icon("hat.widebrim.fill")
126+
static var walk: some Iconizable {
127+
Icon("figure.walk")
122128
}
123129
static var world: some Iconizable {
124130
Icon("globe.desk")

harmonie/Components/LabelItem.swift

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,12 @@ import MemberwiseInit
99
import SwiftUICore
1010

1111
@MemberwiseInit
12-
struct LabelItem {
12+
struct LabelItem: Identifiable {
1313
@Init(label: "_") let value: String
1414
@Init let caption: String
1515
@Init let systemName: String
1616
@Init(default: Font.body) let fontSize: Font
17-
}
18-
19-
extension LabelItem: Identifiable {
20-
var id: UUID { UUID() }
17+
@Init(default: UUID()) let id: UUID
2118
}
2219

2320
extension LabelItem {
@@ -27,12 +24,9 @@ extension LabelItem {
2724
}
2825

2926
@MemberwiseInit
30-
struct LabelItems {
27+
struct LabelItems: Identifiable {
3128
@Init(label: "_") let items: [LabelItem]
32-
}
33-
34-
extension LabelItems: Identifiable {
35-
var id: UUID { UUID() }
29+
@Init(default: UUID()) let id: UUID
3630
}
3731

3832
extension LabelItem: View {

harmonie/Models/WorldDetailLabelStacks.swift renamed to harmonie/Components/WorldDetailLabelStacks.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ import VRCKit
1010
extension World {
1111
var labelItemStacks: [LabelItems] {[
1212
LabelItems([
13-
LabelItem(visits.description, caption: "Visits", icon: IconSet.eye),
13+
LabelItem(visits.description, caption: "Visits", icon: IconSet.walk),
1414
LabelItem(favorites.text, caption: "Favorites", icon: IconSet.favoriteFilled),
1515
LabelItem(popularity.description, caption: "Popularity", icon: IconSet.heart)
1616
]),
1717
LabelItems([
18-
LabelItem(capacity.description, caption: "Capacity", icon: IconSet.eye),
19-
LabelItem(occupants.text, caption: "Public", icon: IconSet.social),
20-
LabelItem(privateOccupants.text, caption: "Private", icon: IconSet.widebrim)
18+
LabelItem(capacity.description, caption: "Capacity", icon: IconSet.friendsFilled),
19+
LabelItem(occupants.text, caption: "Public", icon: IconSet.socialFilled),
20+
LabelItem(privateOccupants.text, caption: "Private", icon: IconSet.private)
2121
]),
2222
LabelItems([
2323
LabelItem(publicationDate.formatted, caption: "Published", icon: IconSet.megaphone, fontSize: .footnote),
@@ -33,6 +33,6 @@ private extension OptionalISO8601Date {
3333
}
3434

3535
private extension Optional<Int> {
36-
var unwrappedValue: Int { self ?? 0 }
36+
private var unwrappedValue: Int { self ?? 0 }
3737
var text: String { unwrappedValue.description }
3838
}

harmonie/Views/MainTabView.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ struct MainTabView: View {
4040
}
4141

4242
@MainActor
43-
extension MainTabViewSegment {
43+
private extension MainTabViewSegment {
4444
@ViewBuilder var content: some View {
4545
switch self {
4646
case .social: LocationsView()
@@ -51,7 +51,7 @@ extension MainTabViewSegment {
5151
}
5252
}
5353

54-
extension MainTabView {
54+
private extension MainTabView {
5555
private func changedScenePhaseHandler(_ before: ScenePhase, _ after: ScenePhase) {
5656
switch (before, after) {
5757
case (.background, .inactive):
@@ -73,7 +73,7 @@ extension MainTabView {
7373
}
7474

7575
@MainActor
76-
extension MainTabView {
76+
private extension MainTabView {
7777
private var tabViewLegacy: some View {
7878
TabView(selection: $selection) {
7979
ForEach(MainTabViewSegment.allCases) { tabSegment in

0 commit comments

Comments
 (0)