Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: some alignment fixes for the popup #382

Merged
merged 1 commit into from Oct 9, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 9 additions & 3 deletions PlayCover/Views/SigningSetupView.swift
Expand Up @@ -37,21 +37,25 @@ struct SignSetupView: View {
.help("""
SIP is required to be fully to partially disabled in order for AMFI to be turned off.
""")
Text("System Integrity Protection: ")
Text("System Integrity Protection")
.font(.headline)
Spacer()
Text("\(SIPEnabled ? "Enabled" : "Disabled")")
.foregroundColor(SIPEnabled ? .red : .green)
.font(.headline)
}
.padding(.leading, 5)
.padding(.trailing, 5)
Divider()
HStack(alignment: .center) {
Image(systemName: "questionmark.circle.fill")
.help("""
AMFI is required to be turned off in order to allow fake signing of apps, \
which helps fixing certain issues with apps that verifies their integrity
allowing them to run with the correct Team ID
""")
Text("Apple Mobile File Integrity: ")
Text("Apple Mobile File Integrity")
.font(.headline)
Spacer()
if AMFIEnabledInNVRAM {
if !AMFIEnabledInRunningOS {
Text("Pending Reboot")
Expand All @@ -68,6 +72,8 @@ struct SignSetupView: View {
.font(.headline)
}
}
.padding(.leading, 5)
.padding(.trailing, 5)
Spacer()
}
.padding()
Expand Down