Show/Hide Button for private key in Options page. Move experimental page into separate sub-folder. Move delegation wizard to sub-folder. Move permission page into separate folder. Basic functional SwiftUI look for the app. Beginning to define the main app view. NavigationStack and Privacy Policy Show App Icon on main screen. Getting Started: macOS Getting Started: iPhone Getting Started: iPad Removing old default UIKit code. Added "No Thanks" toggle to the relay reminder. Clearly indicate in the Settings page when a profile is a delegated profile. Changed recommended relays to all public relays. Use x-cloak in all the places. Fix bundle display name to use capital N. Added copy button to pubkey in settings. Window default size. Updating event kind list. Allow events to be copied by clicking on them in the event log. Tweaking the colors for a more purple-ish look. Added Tips and Tricks view to native app. Move utilities modules into separate folder. Rename event_log files to event_history to escape some content blockers. Renamed Event Log to Event History in the UI as well.
63 lines
2.2 KiB
Swift
63 lines
2.2 KiB
Swift
//
|
|
// GettingStartediPad.swift
|
|
// Nostore
|
|
//
|
|
// Created by Ryan Breen on 2/18/23.
|
|
//
|
|
|
|
import SwiftUI
|
|
|
|
struct GettingStartediPad: View {
|
|
var body: some View {
|
|
ScrollView {
|
|
Text("Getting Started")
|
|
.font(.largeTitle)
|
|
.foregroundColor(.accentColor)
|
|
Text("iPad")
|
|
.font(.title)
|
|
.foregroundColor(.accentColor)
|
|
Text("")
|
|
Text("""
|
|
Upon installation of the app, go to **Settings -> Safari -> Extensions** and enable **Nostore**. Open Safari and look in the toolbar, where you will see the \(Image(systemName: "puzzlepiece.extension")) icon:
|
|
""")
|
|
.padding([.horizontal, .top], 20)
|
|
|
|
Image("ipad-url-bar")
|
|
.resizable()
|
|
.scaledToFit()
|
|
.frame(maxWidth: 512)
|
|
.border(Color.accentColor, width: 2)
|
|
.padding([.top])
|
|
|
|
Text("You will be greeted by a menu like below:").padding([.top], 20)
|
|
|
|
Image("ipad-menu")
|
|
.resizable()
|
|
.scaledToFit()
|
|
.frame(maxWidth: 512)
|
|
.border(Color.accentColor, width: 2)
|
|
.padding([.top])
|
|
|
|
Text("""
|
|
The **Nostore** logo is gray, indicating the extension is inactive for this site, and must be activated first. Click on the button, and give Nostore permission to access the current site. Now the Nostore logo will appear in color, and you can click it again to access the extension.
|
|
""").multilineTextAlignment(.leading)
|
|
.padding([.horizontal, .top], 20)
|
|
|
|
Image("ipad-popup")
|
|
.resizable()
|
|
.scaledToFit()
|
|
.frame(maxWidth: 512)
|
|
.border(Color.accentColor, width: 2)
|
|
.padding([.top])
|
|
|
|
Text("You have a default profile (with a random key) setup to start. Click the **Settings** button to configure your own keys, if you have them.").padding([.top, .bottom], 20)
|
|
}
|
|
}
|
|
}
|
|
|
|
struct GettingStartediPad_Previews: PreviewProvider {
|
|
static var previews: some View {
|
|
GettingStartediPad()
|
|
}
|
|
}
|