Skip to content

Commit

Permalink
Merge pull request #41 from bilaalrashid/bilaal/international-services
Browse files Browse the repository at this point in the history
Fix documentation comments
  • Loading branch information
bilaalrashid authored Jul 29, 2024
2 parents 78ca337 + d1be2b2 commit 03023dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ReadBeeb/RootView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ import BbcNews

/// The root view of the system for an individual window.
struct RootView: View {
/// The global view model representing the system.
@StateObject private var viewModel = GlobalViewModel()

/// The international service that results are being fetched for.
@AppStorage(Constants.UserDefaultIdentifiers.service)
private var service = Service.english.rawValue

Expand Down
1 change: 1 addition & 0 deletions ReadBeeb/Screens/SettingsScreen.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ struct SettingsScreen: View {
/// The postcode entered by the user.
@State private var rawPostcode = ""

/// The international service that results are being fetched for.
@AppStorage(Constants.UserDefaultIdentifiers.service)
private var service = Service.english.rawValue

Expand Down

0 comments on commit 03023dd

Please sign in to comment.