Skip to content

Commit 6f81256

Browse files
committed
update: example updated due to changing in API
1 parent dba3a10 commit 6f81256

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ android {
3030

3131
dependencies {
3232
implementation("androidx.core:core-ktx:1.5.0")
33-
implementation("me.neon.codee:core:1.0.0")
33+
implementation("me.neon.codee:core:1.0.1")
3434
implementation(kotlin("reflect"))
3535
implementation(kotlin("script-util"))
3636
implementation(kotlin("scripting-compiler-embeddable"))

examples/src/main/java/me/neon/codee/plugins/examples/themePlugin.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ object TestThemePlugin : Plugin {
2323
// defines new theme. It is better to inherit `LightTheme` or `DarkTheme`
2424
// to avoid runtime errors when new fields will appear in `Theme`.
2525
object MyTheme : LightTheme() {
26-
override val primary: UInt = 0x000000u
26+
override val primary: String = "#0e0e0e"
2727
}
2828

2929
// registers a plugin to start working with the application

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy