Skip to content

Commit

Permalink
Merge pull request #217 from makinosp/develop
Browse files Browse the repository at this point in the history
update: bump up to 1.0.1
  • Loading branch information
makinosp authored Nov 18, 2024
2 parents 76161c1 + 75b6582 commit 380409e
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions Harmonie.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0.0;
MARKETING_VERSION = 1.0.1;
PRODUCT_BUNDLE_IDENTIFIER = jp.mknn.harmonie;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
Expand Down Expand Up @@ -510,7 +510,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0.0;
MARKETING_VERSION = 1.0.1;
PRODUCT_BUNDLE_IDENTIFIER = jp.mknn.harmonie;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
Expand Down
2 changes: 1 addition & 1 deletion harmonie/Previews/Models/Instance.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ extension PreviewData {

static let instanceMap: [Instance.ID: Instance] = [
instanceId(bar): Instance(world: bar, userCount: 25),
instanceId(casino): Instance(world: casino, userCount: 25),
instanceId(chillRoom): Instance(world: chillRoom, userCount: 25),
instanceId(fuji): Instance(world: fuji, userCount: 25),
instanceId(chinatown): Instance(world: chinatown, userCount: 25),
instanceId(nightCity): Instance(world: nightCity, userCount: 25)
Expand Down
10 changes: 5 additions & 5 deletions harmonie/Previews/Models/World.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ extension PreviewData {
heat: 4
)

static let casino = World(
name: "Casino",
description: "Casino",
imageUrl: URL(string: "\(imageBaseURL)/83/48/NtBOJpF1_o.jpg"),
static let chillRoom = World(
name: "Chill Room",
description: "Chill Room",
imageUrl: URL(string: "\(imageBaseURL)/08/e0/LQFzWXox_o.jpeg"),
favorites: 50,
visits: 75,
popularity: 5,
Expand Down Expand Up @@ -59,7 +59,7 @@ extension PreviewData {
heat: 3
)

static let worldList = [ bar, casino, fuji, chinatown, nightCity ]
static let worldList = [ bar, chillRoom, fuji, chinatown, nightCity ]
}

extension World {
Expand Down
2 changes: 1 addition & 1 deletion harmonie/Previews/PreviewData.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ final class PreviewData: Sendable {
private init() {
let onlineFriendsSet: [FriendSet] = [
(0..<10).map { _ in FriendSet(world: Self.bar, status: .joinMe) },
(0..<5).map { _ in FriendSet(world: Self.casino, status: .active) },
(0..<5).map { _ in FriendSet(world: Self.chillRoom, status: .active) },
(0..<3).map { _ in FriendSet(world: Self.fuji, status: .joinMe) },
(0..<2).map { _ in FriendSet(world: Self.chinatown, status: .active) },
[FriendSet(world: Self.nightCity, status: .joinMe)],
Expand Down
2 changes: 1 addition & 1 deletion harmonie/Previews/Services/WorldPreviewService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ final actor WorldPreviewService: APIService, WorldServiceProtocol {
}

func fetchFavoritedWorlds() async throws -> [FavoriteWorld] {
[PreviewData.casino, PreviewData.nightCity, PreviewData.chinatown].map { world in
[PreviewData.chillRoom, PreviewData.nightCity, PreviewData.chinatown].map { world in
FavoriteWorld(
world: world,
favoriteId: "fvrt_\(UUID())",
Expand Down
2 changes: 1 addition & 1 deletion harmonie/Views/World/WorldView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ struct WorldView: View {
#Preview {
PreviewContainer {
NavigationStack {
WorldView(world: PreviewData.casino)
WorldView(world: PreviewData.chillRoom)
}
}
}

0 comments on commit 380409e

Please sign in to comment.