~repos /only-bible-app

#kotlin#android#ios

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.


3663486d pyrossh

1 year ago
fix bible languageNative
composeApp/src/commonMain/kotlin/dev/pyrossh/only_bible_app/AppHost.kt CHANGED
@@ -10,6 +10,9 @@ import androidx.navigation.compose.NavHost
10
10
  import androidx.navigation.compose.composable
11
11
  import androidx.navigation.compose.rememberNavController
12
12
  import androidx.navigation.toRoute
13
+ import dev.pyrossh.only_bible_app.screens.ChapterScreen
14
+ import dev.pyrossh.only_bible_app.screens.ChapterScreenProps
15
+ import dev.pyrossh.only_bible_app.screens.Dir
13
16
  import utils.LocalNavController
14
17
 
15
18
  @Composable
composeApp/src/commonMain/kotlin/dev/pyrossh/only_bible_app/composables/ChapterSelector.kt CHANGED
@@ -33,7 +33,7 @@ import androidx.compose.ui.Modifier
33
33
  import androidx.compose.ui.text.font.FontWeight
34
34
  import androidx.compose.ui.unit.dp
35
35
  import androidx.compose.ui.window.Dialog
36
- import dev.pyrossh.only_bible_app.ChapterScreenProps
36
+ import dev.pyrossh.only_bible_app.screens.ChapterScreenProps
37
37
  import dev.pyrossh.only_bible_app.domain.Bible
38
38
  import dev.pyrossh.only_bible_app.domain.chapterSizes
39
39
  import dev.pyrossh.only_bible_app.domain.engTitles
composeApp/src/commonMain/kotlin/dev/pyrossh/only_bible_app/composables/VerseText.kt CHANGED
@@ -1,7 +1,7 @@
1
1
  package dev.pyrossh.only_bible_app.composables
2
2
 
3
3
  import dev.pyrossh.only_bible_app.AppViewModel
4
- import dev.pyrossh.only_bible_app.ChapterScreenProps
4
+ import dev.pyrossh.only_bible_app.screens.ChapterScreenProps
5
5
  import dev.pyrossh.only_bible_app.FontType
6
6
  import androidx.compose.foundation.border
7
7
  import androidx.compose.foundation.clickable
composeApp/src/commonMain/kotlin/dev/pyrossh/only_bible_app/domain/Verse.kt CHANGED
@@ -16,16 +16,16 @@ data class Bible(
16
16
  var bibles = listOf(
17
17
  Bible("en", "English", "KJV", "en-GB-RyanNeural", "Text Settings"),
18
18
  Bible("en", "English", "BSB", "en-GB-RyanNeural", "Text Settings"),
19
- Bible("bn", "Bengali", "", "bn-IN-TanishaaNeural", "সেটিংস"),
19
+ Bible("bn", "Bengali", "বাংলা", "bn-IN-TanishaaNeural", "সেটিংস"),
20
- Bible("gu", "Gujarati", "", "gu-IN-DhwaniNeural", "સેટિંગ્સ"),
20
+ Bible("gu", "Gujarati", "ગુજરાતી", "gu-IN-DhwaniNeural", "સેટિંગ્સ"),
21
- Bible("hi", "Hindi", "", "hi-IN-SwaraNeural", "समायोजन"),
21
+ Bible("hi", "Hindi", "हिन्दी", "hi-IN-SwaraNeural", "समायोजन"),
22
- Bible("kn", "Kannada", "", "kn-IN-GaganNeural", "ಸಂಯೋಜನೆಗಳು"),
22
+ Bible("kn", "Kannada", "ಕನ್ನಡ", "kn-IN-GaganNeural", "ಸಂಯೋಜನೆಗಳು"),
23
- Bible("ml", "Malayalam", "", "ml-IN-SobhanaNeural", "ക്രമീകരണങ്ങൾ"),
23
+ Bible("ml", "Malayalam", "മലയാളം", "ml-IN-SobhanaNeural", "ക്രമീകരണങ്ങൾ"),
24
- Bible("ne", "Nepali", "", "ne-NP-HemkalaNeural", "सेटिङहरू"),
24
+ Bible("ne", "Nepali", "नेपाली", "ne-NP-HemkalaNeural", "सेटिङहरू"),
25
- Bible("or", "Odia", "", "or-IN-SubhasiniNeural", "ସେଟିଂସମୂହ"),
25
+ Bible("or", "Odia", "ଓଡ଼ିଆ", "or-IN-SubhasiniNeural", "ସେଟିଂସମୂହ"),
26
- Bible("pa", "Punjabi", "", "pa-IN-OjasNeural", "ਸੈਟਿੰਗਾਂ"),
26
+ Bible("pa", "Punjabi", "ਪੰਜਾਬੀ", "pa-IN-OjasNeural", "ਸੈਟਿੰਗਾਂ"),
27
- Bible("ta", "Tamil", "", "ta-IN-PallaviNeural", "அமைப்புகள்"),
27
+ Bible("ta", "Tamil", "தமிழ்", "ta-IN-PallaviNeural", "அமைப்புகள்"),
28
- Bible("te", "Telugu", "", "te-IN-ShrutiNeural", "సెట్టింగ్\\\\u200Cలు"),
28
+ Bible("te", "Telugu", "తెలుగు", "te-IN-ShrutiNeural", "సెట్టింగ్\\\\u200Cలు"),
29
29
  )
30
30
 
31
31
  const val BOOKS_COUNT = 66;
composeApp/src/commonMain/kotlin/dev/pyrossh/only_bible_app/{ChapterScreen.kt → screens/ChapterScreen.kt} RENAMED
@@ -1,4 +1,4 @@
1
- package dev.pyrossh.only_bible_app
1
+ package dev.pyrossh.only_bible_app.screens
2
2
  import androidx.compose.animation.AnimatedContentTransitionScope
3
3
  import androidx.compose.foundation.layout.Arrangement
4
4
  import androidx.compose.foundation.layout.Column
@@ -36,6 +36,7 @@ import androidx.compose.ui.text.TextStyle
36
36
  import androidx.compose.ui.text.font.FontWeight
37
37
  import androidx.compose.ui.unit.dp
38
38
  import androidx.compose.ui.unit.sp
39
+ import dev.pyrossh.only_bible_app.AppViewModel
39
40
  import dev.pyrossh.only_bible_app.composables.BibleSelector
40
41
  import dev.pyrossh.only_bible_app.composables.ChapterSelector
41
42
  import dev.pyrossh.only_bible_app.composables.EmbeddedSearchBar