Skip to content

Commit

Permalink
Merge pull request #772 from planetary-social/fix-warnings
Browse files Browse the repository at this point in the history
Fix warnings in project
  • Loading branch information
mplorentz authored Jan 4, 2024
2 parents dcdbd7d + 6ce86e0 commit a9dba17
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Nos.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1439,7 +1439,7 @@
attributes = {
BuildIndependentTargetsInParallel = 1;
LastSwiftUpdateCheck = 1420;
LastUpgradeCheck = 1500;
LastUpgradeCheck = 1510;
TargetAttributes = {
C90862BA29E9804B00C35A71 = {
CreatedOnToolsVersion = 14.2;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1510"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1510"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1510"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
2 changes: 1 addition & 1 deletion Nos.xcodeproj/xcshareddata/xcschemes/Nos.xcscheme
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1510"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
2 changes: 1 addition & 1 deletion Nos.xcodeproj/xcshareddata/xcschemes/NosTests.xcscheme
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1510"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
2 changes: 1 addition & 1 deletion Nos.xcodeproj/xcshareddata/xcschemes/NosUITests.xcscheme
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1510"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
1 change: 0 additions & 1 deletion Nos/Views/NoteButton.swift
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ struct NoteButton: View {
var body: some View {
VStack {
if note.kind == EventKind.repost.rawValue, let author = note.author {
let repost = note
Button(action: {
router.push(author)
}, label: {
Expand Down
1 change: 0 additions & 1 deletion NosTests/EventTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ final class EventTests: XCTestCase {
let sampleEventID = "f41e430f632b1e747da7efbb0ce11616876851e2fa3bbac440101c1b8a091152"
let repostedEventID = "f82507f7c770a39d0eabf276ced34fbd6a172be869bd3a3231c9c0272f405008"
let repostedEventContents = "#kraftwerk https://v.nostr.build/lx7e.mp4 "
let testContext = persistenceController.container.viewContext

// Act
let events = try EventProcessor.parse(jsonData: sampleData, from: nil, in: persistenceController)
Expand Down

0 comments on commit a9dba17

Please sign in to comment.