Minor formatting fixes
This commit is contained in:
parent
8512178a24
commit
4829994d52
5 changed files with 8 additions and 7 deletions
|
@ -27,7 +27,7 @@ kotlin {
|
|||
isStatic = true
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
sourceSets {
|
||||
val androidMain by getting {
|
||||
dependencies {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package net.agorise.kee
|
||||
|
||||
class JVMPlatform: Platform {
|
||||
class JVMPlatform : Platform {
|
||||
override val name: String = "Java ${System.getProperty("java.version")}"
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue