Add swiftlint & Minor fixes
This commit is contained in:
@@ -44,8 +44,6 @@ class ApplicationDelegate: NSObject, UIApplicationDelegate, UNUserNotificationCe
|
||||
switch response.actionIdentifier {
|
||||
case "COPY_URL":
|
||||
UIPasteboard.general.string = url
|
||||
case "OPEN_URL":
|
||||
fallthrough
|
||||
default:
|
||||
await UIApplication.shared.open(URL(string: url)!)
|
||||
}
|
||||
|
||||
+3
-1
@@ -51,8 +51,8 @@ struct MainView: View {
|
||||
HStack(spacing: 12) {
|
||||
if let profile = environments.extensionProfile {
|
||||
StatusText(profile: profile)
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
}
|
||||
Spacer()
|
||||
NavigationButtonsView(
|
||||
showGroupsButton: buttonState.showGroupsButton,
|
||||
showConnectionsButton: buttonState.showConnectionsButton,
|
||||
@@ -187,6 +187,8 @@ struct MainView: View {
|
||||
Text(statusText)
|
||||
.font(.subheadline)
|
||||
.foregroundStyle(.secondary)
|
||||
.lineLimit(1)
|
||||
.fixedSize()
|
||||
}
|
||||
|
||||
private var statusText: String {
|
||||
|
||||
Reference in New Issue
Block a user