Skip to content

Commit

Permalink
Improve copy
Browse files Browse the repository at this point in the history
  • Loading branch information
halo committed Feb 4, 2024
1 parent e688769 commit fb66531
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 10 deletions.
2 changes: 1 addition & 1 deletion LinkLiar/Views/Settings/Sections/VendorsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ extension SettingsView {
Text("""
When LinkLiar is supposed to randomize the MAC address of an Interface, \
you can tell it here from which vendors it should pick a prefix.
""") //.multilineTextAlignment(.leading)
""") // .multilineTextAlignment(.leading)

Table(state.config.vendors.popular) {

Expand Down
25 changes: 16 additions & 9 deletions LinkLiar/Views/Settings/Sections/WelcomeView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ extension SettingsView {
.aspectRatio(contentMode: .fill)
.frame(width: 60, height: 60)
.padding(.bottom, 3)
Text("Welcome to the LinkLiar Beginner's Guide!")
Text("LinkLiar Beginner's Guide").bold()
}.padding()

VStack(alignment: .leading) {
Expand Down Expand Up @@ -104,10 +104,8 @@ extension SettingsView {
}.padding(5)
}.padding(.bottom)

Text("To solve this problem, every device has been assigned a unique MAC address ") +
Text("(by the way, this has nothing to do with the word \"Macintosh\"). ") +
Text("This address was given to the device in the factory, when the device was built. ") +
Text("It is used to establish first contact over the air.")
Text("To solve this problem, every computer is given a unique identifier when built in the factory. ") +
Text("It's called the \"MAC address\" and is used to establish first contact over the air.")

GroupBox {
HStack {
Expand Down Expand Up @@ -176,7 +174,7 @@ extension SettingsView {
Spacer(minLength: 10)

Text("Every laptop has a built-in function to do this. But it's not intuitive to use. ") +
Text("LinkLiar is a small tool to help you change your MAC address.")
Text("LinkLiar is a small tool to help you change your MAC address. ")

GroupBox {
HStack {
Expand All @@ -194,6 +192,11 @@ extension SettingsView {
}.padding(5)
}.padding(.bottom)

Text("The most important reason to change your MAC address, is to achieve the same level of privacy ") +
Text("that your phone already has.")

Spacer(minLength: 10)

Text("Incidentally, the MAC address is often used to grant permission for using a public Wi-Fi. ")

GroupBox {
Expand All @@ -220,9 +223,13 @@ extension SettingsView {
}.padding(5)
}.padding(.bottom)

Text("You can see that there are good reasons to be able to change your MAC address. ") +
Text("The most important one is to achieve the same level of privacy ") +
Text("that your phone already has. ")
Text("Since MAC addresses are announced in the clear over the air, everybody ") +
Text("can see them. If a school, a company, or a private Wi-Fi owner relies on ") +
Text("them for access control, it's not secure. Everybody can change their MAC address.")

Spacer(minLength: 10)

Text("And now, can you.")

Spacer()
}
Expand Down

0 comments on commit fb66531

Please sign in to comment.