refactor: add trailing newlines

This commit is contained in:
LavaDesu 2025-04-14 21:53:07 +10:00
parent 4dd63b7d1d
commit 388c3b1b75
Signed by: cilly
GPG key ID: 6500251E087653C9
19 changed files with 19 additions and 21 deletions

View file

@ -88,4 +88,4 @@ dependencies {
secrets { secrets {
propertiesFileName = "secrets.properties" propertiesFileName = "secrets.properties"
} }

View file

@ -24,5 +24,4 @@
</intent-filter> </intent-filter>
</activity> </activity>
</application> </application>
</manifest>
</manifest>

View file

@ -22,4 +22,4 @@ class MainActivity : ComponentActivity() {
@Composable @Composable
fun AppAndroidPreview() { fun AppAndroidPreview() {
App() App()
} }

View file

@ -93,4 +93,4 @@ actual fun Maps(
) )
} }
} }
} }

View file

@ -52,4 +52,4 @@ fun App() {
) )
} }
} }
} }

View file

@ -18,4 +18,4 @@ expect fun Maps(
polylines: List<Polyline> = listOf(), polylines: List<Polyline> = listOf(),
cameraPosition: Point = Point(-37.8136, 144.9631), cameraPosition: Point = Point(-37.8136, 144.9631),
sheetState: SheetState, sheetState: SheetState,
) )

View file

@ -120,5 +120,4 @@ fun Searcher(
} }
} }
} }
}
}

View file

@ -2,4 +2,4 @@ package moe.lava.banksia
import androidx.compose.ui.window.ComposeUIViewController import androidx.compose.ui.window.ComposeUIViewController
fun MainViewController() = ComposeUIViewController { App() } fun MainViewController() = ComposeUIViewController { App() }

View file

@ -15,4 +15,4 @@ actual fun Maps(
sheetState: SheetState, sheetState: SheetState,
) { ) {
TODO("Not yet implemented") TODO("Not yet implemented")
} }

View file

@ -10,4 +10,4 @@ android.nonTransitiveRClass=true
android.useAndroidX=true android.useAndroidX=true
#Ktor #Ktor
io.ktor.development=true io.ktor.development=true

View file

@ -62,4 +62,4 @@ kotlinJvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
ktor = { id = "io.ktor.plugin", version.ref = "ktor" } ktor = { id = "io.ktor.plugin", version.ref = "ktor" }
kotlinMultiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" } kotlinMultiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
kotlinSerialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" } kotlinSerialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
secretsGradle = { id = "com.google.android.libraries.mapsplatform.secrets-gradle-plugin" } secretsGradle = { id = "com.google.android.libraries.mapsplatform.secrets-gradle-plugin" }

View file

@ -7,4 +7,4 @@ struct iOSApp: App {
ContentView() ContentView()
} }
} }
} }

View file

@ -18,4 +18,4 @@ dependencies {
implementation(libs.ktor.server.netty) implementation(libs.ktor.server.netty)
testImplementation(libs.ktor.server.tests) testImplementation(libs.ktor.server.tests)
testImplementation(libs.kotlin.test.junit) testImplementation(libs.kotlin.test.junit)
} }

View file

@ -17,4 +17,4 @@ fun Application.module() {
call.respondText("Ktor: Hi") call.respondText("Ktor: Hi")
} }
} }
} }

View file

@ -30,4 +30,4 @@ dependencyResolutionManagement {
include(":composeApp") include(":composeApp")
include(":server") include(":server")
include(":shared") include(":shared")

View file

@ -4,4 +4,4 @@ import android.util.Log
actual fun log(tag: String, msg: String) { actual fun log(tag: String, msg: String) {
Log.i(tag, msg) Log.i(tag, msg)
} }

View file

@ -1,3 +1,3 @@
package moe.lava.banksia package moe.lava.banksia
expect fun log(tag: String, msg: String) expect fun log(tag: String, msg: String)

View file

@ -55,4 +55,4 @@ class PtvService {
val response: RouteResponse = client.get("routes").body() val response: RouteResponse = client.get("routes").body()
return response.routes return response.routes
} }
} }

View file

@ -2,4 +2,4 @@ package moe.lava.banksia
actual fun log(tag: String, msg: String) { actual fun log(tag: String, msg: String) {
println("[$tag] $msg") println("[$tag] $msg")
} }