~repos /only-bible-app
git clone
https://pyrossh.dev/repos/only-bible-app.git
The only bible app you will ever need. No ads. No in-app purchases. No distractions.
file:
composeApp/src/commonMain/kotlin/dev/pyrossh/onlyBible/Platform.kt
package dev.pyrossh.onlyBible
import androidx.compose.runtime.Composableimport androidx.compose.ui.unit.Dp
enum class Platform { Android, IOS}
expect fun getPlatform(): Platform
@Composableexpect fun getScreenWidth(): Dp
@Composableexpect fun getScreenHeight(): Dp
@Composableexpect fun playClickSound()
expect object ShareKit { fun shareText(text: String)}
@Composableexpect fun onThemeChange(themeType: ThemeType)
expect object SpeechService { fun init(onStarted: () -> Unit, onEnded: () -> Unit) fun dispose(onStarted: () -> Unit, onEnded: () -> Unit) fun startTextToSpeech(voiceName: String, text: String) fun stopTextToSpeech()}