Skip to content

Commit

Permalink
fix: fix swiftlint issues and PR.yml
Browse files Browse the repository at this point in the history
kaszabimre committed Oct 4, 2024
1 parent 4f0c5da commit c55a525
Showing 5 changed files with 11 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/PR.yml
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up JDK
uses: actions/setup-java@v3.13.0
uses: actions/setup-java
with:
distribution: corretto
java-version: 18
@@ -41,7 +41,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up JDK
uses: actions/setup-java@v3.13.0
uses: actions/setup-java
with:
distribution: corretto
java-version: 18
@@ -57,7 +57,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up JDK
uses: actions/setup-java@v3.13.0
uses: actions/setup-java
with:
distribution: corretto
java-version: 18
8 changes: 4 additions & 4 deletions iosApp/iosApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
/* Begin PBXBuildFile section */
058557BB273AAA24004C7B11 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 058557BA273AAA24004C7B11 /* Assets.xcassets */; };
058557D9273AAEEB004C7B11 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 058557D8273AAEEB004C7B11 /* Preview Assets.xcassets */; };
2152FB042600AC8F00CF470E /* iOSApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2152FB032600AC8F00CF470E /* iOSApp.swift */; };
2152FB042600AC8F00CF470E /* EAPlayersApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2152FB032600AC8F00CF470E /* EAPlayersApp.swift */; };
7555FF83242A565900829871 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7555FF82242A565900829871 /* ContentView.swift */; };
CF5D46FA2C6E8B28005EE48B /* KoinApplication.swift in Sources */ = {isa = PBXBuildFile; fileRef = CF5D46F92C6E8B28005EE48B /* KoinApplication.swift */; };
CF5D46FC2C6E8C38005EE48B /* LazyKoin.swift in Sources */ = {isa = PBXBuildFile; fileRef = CF5D46FB2C6E8C38005EE48B /* LazyKoin.swift */; };
@@ -18,7 +18,7 @@
/* Begin PBXFileReference section */
058557BA273AAA24004C7B11 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
058557D8273AAEEB004C7B11 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
2152FB032600AC8F00CF470E /* iOSApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = iOSApp.swift; sourceTree = "<group>"; };
2152FB032600AC8F00CF470E /* EAPlayersApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EAPlayersApp.swift; sourceTree = "<group>"; };
7555FF7B242A565900829871 /* EAPlayers.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = EAPlayers.app; sourceTree = BUILT_PRODUCTS_DIR; };
7555FF82242A565900829871 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
7555FF8C242A565B00829871 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
@@ -78,7 +78,7 @@
058557BA273AAA24004C7B11 /* Assets.xcassets */,
7555FF82242A565900829871 /* ContentView.swift */,
7555FF8C242A565B00829871 /* Info.plist */,
2152FB032600AC8F00CF470E /* iOSApp.swift */,
2152FB032600AC8F00CF470E /* EAPlayersApp.swift */,
058557D7273AAEEB004C7B11 /* Preview Content */,
);
path = iosApp;
@@ -199,7 +199,7 @@
buildActionMask = 2147483647;
files = (
CF5D46FA2C6E8B28005EE48B /* KoinApplication.swift in Sources */,
2152FB042600AC8F00CF470E /* iOSApp.swift in Sources */,
2152FB042600AC8F00CF470E /* EAPlayersApp.swift in Sources */,
CF5D46FC2C6E8C38005EE48B /* LazyKoin.swift in Sources */,
7555FF83242A565900829871 /* ContentView.swift in Sources */,
);
3 changes: 0 additions & 3 deletions iosApp/iosApp/ContentView.swift
Original file line number Diff line number Diff line change
@@ -16,6 +16,3 @@ struct ContentView: View {
.ignoresSafeArea(.keyboard) // Compose has own keyboard handler
}
}



Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@ import ComposeApp
import SwiftUI

@main
struct iOSApp: App {
struct EAPlayersApp: App {
// Lazy so it doesn't try to initialize before startKoin() is called
lazy var logger = KoinApplication.getLogger(class: iOSApp.self)
lazy var logger = KoinApplication.getLogger(class: EAPlayersApp.self)

init() {
KoinApplication.start()
logger.v(throwable: nil, tag: "Logger",message: { "App Started" })
logger.v(throwable: nil, tag: "Logger", message: { "App Started" })
}

var body: some Scene {
1 change: 0 additions & 1 deletion iosApp/iosApp/Koin/KoinApplication.swift
Original file line number Diff line number Diff line change
@@ -40,4 +40,3 @@ extension KoinApplication {
return kotlinClass
}
}

0 comments on commit c55a525

Please sign in to comment.