Skip to content

Commit

Permalink
feat: lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
JNdhlovu committed Aug 21, 2024
1 parent 5c30124 commit 5d3093c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Example/SmileID/App/AppDelegate.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import ArkanaKeys
import netfox
import Sentry
import SmileID
import SwiftUI
import UIKit
import ArkanaKeys

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
Expand All @@ -14,9 +14,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
didFinishLaunchingWithOptions _: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
UINavigationBar.appearance().titleTextAttributes = [
NSAttributedString.Key.foregroundColor: UIColor.black
NSAttributedString.Key.foregroundColor: UIColor.black,
]
if(enableSentry()){
if enableSentry() {
SentrySDK.start { options in
options.dsn = ArkanaKeys.Global().sENTRY_DSN
options.debug = true
Expand All @@ -32,7 +32,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
window?.makeKeyAndVisible()
return true
}

func enableSentry() -> Bool {
guard let enableSentry = Bundle.main.object(forInfoDictionaryKey: "EnableSentry") as? String else {
return false
Expand Down
2 changes: 1 addition & 1 deletion Tests/Networking/PollingTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ final class PollingTests: XCTestCase {

MockHelper.shouldFail = true
MockHelper.jobComplete = false

do {
let stream = try await pollFunction(request, interval, numAttempts)
for try await _ in stream {
Expand Down

0 comments on commit 5d3093c

Please sign in to comment.