Browse Source

Fix issues example.

pull/405/head
Nikolay Igotti 4 years ago
parent
commit
3dcf866593
  1. 2
      examples/issues/android/src/main/java/androidx/ui/examples/jetissues/MainActivity.kt
  2. 2
      examples/issues/desktop/src/jvmMain/kotlin/androidx/ui/examples/jetissues/Main.kt

2
examples/issues/android/src/main/java/androidx/ui/examples/jetissues/MainActivity.kt

@ -8,7 +8,7 @@ import androidx.ui.examples.jetissues.view.JetIssuesView
import androidx.ui.examples.jetissues.view.Repository
import androidx.ui.examples.jetissues.data.IssuesRepositoryImpl
val repo = IssuesRepositoryImpl("ktorio", "ktor", System.getenv("GITHUB_TOKEN") ?: "fa7774306d1b9ab4af76652599841ee69a88fb6f")
val repo = IssuesRepositoryImpl("ktorio", "ktor", System.getenv("GITHUB_TOKEN") ?: "8c5097718c3108397f035fd6a6f307fa0b70f9b1")
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {

2
examples/issues/desktop/src/jvmMain/kotlin/androidx/ui/examples/jetissues/Main.kt

@ -7,7 +7,7 @@ import androidx.ui.examples.jetissues.view.JetIssuesView
import androidx.ui.examples.jetissues.view.Repository
import androidx.ui.examples.jetissues.data.IssuesRepositoryImpl
val repo = IssuesRepositoryImpl("ktorio", "ktor", System.getenv("GITHUB_TOKEN") ?: "fa7774306d1b9ab4af76652599841ee69a88fb6f")
val repo = IssuesRepositoryImpl("ktorio", "ktor", System.getenv("GITHUB_TOKEN") ?: " 8c5097718c3108397f035fd6a6f307fa0b70f9b1")
fun main() = Window(
title = "JetIssues",

Loading…
Cancel
Save