Skip to content

Comments

Move to Compose Multiplatform#4

Open
Phaestion wants to merge 1 commit intotheapache64:masterfrom
Phaestion:master
Open

Move to Compose Multiplatform#4
Phaestion wants to merge 1 commit intotheapache64:masterfrom
Phaestion:master

Conversation

@Phaestion
Copy link

Hi there @theapache64

I've been looking at this app of yours for quite some time and I would like to implement it as a MacOS screen saver using https://github.com/zsmb13/Kotlin-macOS-ScreenSaver-Template but before I do that I wanted to update your repo to the latest versions of Compose and get it into a Kotlin Multiplatform structure.

The repo needed some refactoring to achieve this. I implemented the targets of Macos, JVM and Web.
I added kotlinx.datetime to make the time handling multiplatform and had to tweak a few things here and there.

I remove the typography and GoogleSans fonts, as far as I can tell this is only used for the text at the bottom of the app and I didn't want to implement composeResources just for that. If you feel strongly about having those fonts I'd be happy to add them back.

If you have any feedback or questions, please let me know.

…(native), Desktop (JVM), Web - JS & WASM.

Upgrade Gradle, Kotlin, Compose.
Remove Java specific time handling and replace with kotlinx.datetime.
@theapache64
Copy link
Owner

thanks for your work on the multiplatform setup.
the project is already using that structure now, so let's sync with the base and resolve any conflicts before implementing the screen saver.
appreciate your effort and looking forward to getting this in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants