Minor formatting fixes

This commit is contained in:
Severiano Jaramillo 2024-03-29 18:55:43 -07:00
parent 8512178a24
commit 4829994d52
5 changed files with 8 additions and 7 deletions

View file

@ -27,7 +27,7 @@ kotlin {
isStatic = true
}
}
sourceSets {
val androidMain by getting {
dependencies {

View file

@ -1,6 +1,6 @@
package net.agorise.kee
class JVMPlatform: Platform {
class JVMPlatform : Platform {
override val name: String = "Java ${System.getProperty("java.version")}"
}

View file

@ -1,6 +1,6 @@
package net.agorise.kee
import androidx.compose.ui.unit.DpSize
import androidx.compose.ui.unit.DpSize
import androidx.compose.ui.unit.dp
import androidx.compose.ui.window.Window
import androidx.compose.ui.window.WindowPosition

View file

@ -17,7 +17,7 @@ kotlin {
iosX64()
iosArm64()
iosSimulatorArm64()
sourceSets {
commonMain.dependencies {
implementation(libs.multiplatform.settings)
@ -28,11 +28,11 @@ kotlin {
android {
namespace = "net.agorise.shared.preferences"
compileSdk = libs.versions.android.compileSdk.get().toInt()
defaultConfig {
minSdk = libs.versions.android.minSdk.get().toInt()
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11

View file

@ -74,7 +74,8 @@ class StargateBridge {
}
// Temporary request to get block count
private fun getBlockCountRequest() = "{ \"jsonrpc\": \"2.0\", \"id\": \"${getNextRequestId()}\", \"method\": \"DERO.GetBlockCount\" }"
private fun getBlockCountRequest() =
"{ \"jsonrpc\": \"2.0\", \"id\": \"${getNextRequestId()}\", \"method\": \"DERO.GetBlockCount\" }"
private fun getNextRequestId() = ++currentRequestId
}