Skip to content

Commit

Permalink
More linter fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
todd-spruceid committed Jun 11, 2024
1 parent a601c91 commit cd37fb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Sources/WalletSdk/PlatformContext.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ import Foundation
// Class: SpruceKitPlatformContext
// A container for platform-specific subsystems.

class SpruceKitPlatformContext: NSObject
{
class SpruceKitPlatformContext: NSObject {
let storageMgr = StorageManager() // Secure storage.
}

Expand Down
2 changes: 1 addition & 1 deletion Sources/WalletSdk/StorageManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class StorageManager: NSObject {
func sys_test() {
let key = "test_key"

guard let value = "Some random string of text. 😎".data(using: .utf8) else {
guard let value = Data("Some random string of text. 😎".utf8) else {
print("\(self.classForCoder):\(#function): Failed to encode value.")
return
}
Expand Down

0 comments on commit cd37fb7

Please sign in to comment.