refactor: add trailing newlines
This commit is contained in:
parent
4dd63b7d1d
commit
388c3b1b75
19 changed files with 19 additions and 21 deletions
|
|
@ -88,4 +88,4 @@ dependencies {
|
||||||
|
|
||||||
secrets {
|
secrets {
|
||||||
propertiesFileName = "secrets.properties"
|
propertiesFileName = "secrets.properties"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -24,5 +24,4 @@
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</activity>
|
</activity>
|
||||||
</application>
|
</application>
|
||||||
|
</manifest>
|
||||||
</manifest>
|
|
||||||
|
|
|
||||||
|
|
@ -22,4 +22,4 @@ class MainActivity : ComponentActivity() {
|
||||||
@Composable
|
@Composable
|
||||||
fun AppAndroidPreview() {
|
fun AppAndroidPreview() {
|
||||||
App()
|
App()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -93,4 +93,4 @@ actual fun Maps(
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -52,4 +52,4 @@ fun App() {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -120,5 +120,4 @@ fun Searcher(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -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() }
|
||||||
|
|
|
||||||
|
|
@ -15,4 +15,4 @@ actual fun Maps(
|
||||||
sheetState: SheetState,
|
sheetState: SheetState,
|
||||||
) {
|
) {
|
||||||
TODO("Not yet implemented")
|
TODO("Not yet implemented")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,4 +10,4 @@ android.nonTransitiveRClass=true
|
||||||
android.useAndroidX=true
|
android.useAndroidX=true
|
||||||
|
|
||||||
#Ktor
|
#Ktor
|
||||||
io.ktor.development=true
|
io.ktor.development=true
|
||||||
|
|
|
||||||
|
|
@ -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" }
|
||||||
|
|
|
||||||
|
|
@ -7,4 +7,4 @@ struct iOSApp: App {
|
||||||
ContentView()
|
ContentView()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -17,4 +17,4 @@ fun Application.module() {
|
||||||
call.respondText("Ktor: Hi")
|
call.respondText("Ktor: Hi")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -30,4 +30,4 @@ dependencyResolutionManagement {
|
||||||
|
|
||||||
include(":composeApp")
|
include(":composeApp")
|
||||||
include(":server")
|
include(":server")
|
||||||
include(":shared")
|
include(":shared")
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue