Skip to content

Commit

Permalink
Merge pull request #279 from 42Box/dev/fix-app-introduction/#278
Browse files Browse the repository at this point in the history
fix: change GuideView url
  • Loading branch information
chanhihi authored May 3, 2024
2 parents 2c22094 + 8cf9696 commit 009cc02
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ protocol ProjectFactory {
extension Plist.Value {
static var displayName: Plist.Value = "42Box"
static var displayShareExtensionName: Plist.Value = "42Box.Share"
static var appVersion: Plist.Value = "1.0.2"
static var appVersion: Plist.Value = "1.0.3"
}

// MARK: - iBox Factory
Expand Down
11 changes: 0 additions & 11 deletions iBox/Sources/Initializer/DefaultDataModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,4 @@ struct BookmarkData: Codable {

struct DefaultDataLoader {
static var defaultURL = URL(string: "https://42box.github.io/iOSHowToUse/")!
static var defaultData: [Folder]? = [
Folder(id: UUID(), name: "42Box", bookmarks: [
Bookmark(id: UUID(), name: "How to use 42Box", url: URL(string: "https://42box.github.io/iOSHowToUse/")!),
// Bookmark(id: UUID(), name: "42 Intra", url: URL(string: "https://profile.intra.42.fr/")!),
// Bookmark(id: UUID(), name: "42Where", url: URL(string: "https://www.where42.kr/")! ),
// Bookmark(id: UUID(), name: "42Stat", url: URL(string: "https://stat.42seoul.kr/")!),
// Bookmark(id: UUID(), name: "집현전", url: URL(string: "https://42library.kr/")!),
// Bookmark(id: UUID(), name: "42gg", url: URL(string: "https://gg.42seoul.kr/")!),
// Bookmark(id: UUID(), name: "24HANE", url: URL(string: "https://24hoursarenotenough.42seoul.kr/")!)
])
]
}
2 changes: 1 addition & 1 deletion iBox/Sources/Settings/Guide/GuideViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class GuideViewController: BaseViewController<GuideView>, BaseViewControllerProt
setupNavigationBar()

guard let contentView = contentView as? GuideView else { return }
contentView.guideUrl = URL(string: "https://github.com/42Box/iOS/tree/develop?tab=readme-ov-file#%EF%B8%8F%EF%B8%8F-introduction")
contentView.guideUrl = URL(string: "https://42box.github.io/iOSIntroduction")
}

// MARK: - BaseViewControllerProtocol
Expand Down

0 comments on commit 009cc02

Please sign in to comment.