File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
src/commonMain/kotlin/com/yesferal/hornsapp/core Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ class SettingsRepositoryImpl(
88 private val environmentDataSource : EnvironmentDataSource ,
99 private val onBoardingDataSource : OnBoardingDataSource
1010) : SettingsRepository {
11- override val screenDelay: Long
11+ override val screenDelay: Int
1212 get() = 300
1313
1414 override fun getEnvironments () = environmentDataSource.getEnvironments()
Original file line number Diff line number Diff line change 11package com.yesferal.hornsapp.core.domain.abstraction
22
33interface SettingsRepository {
4- val screenDelay: Long
4+ val screenDelay: Int
55 fun getEnvironments (): List <Pair <String , String >>
66 fun getDefaultEnvironment (): Int
77 fun updateDefaultEnvironment (environment : Int )
Original file line number Diff line number Diff line change @@ -4,17 +4,17 @@ package com.yesferal.hornsapp.core.domain.entity.render
44interface AppRenderContract {
55 val platform: String?
66 val appId: String?
7- val docVersion: Long ?
8- val appVersion: Long ?
7+ val docVersion: Int ?
8+ val appVersion: Int ?
99 val screens: List <ScreenRenderContract >?
1010 val categories: List <CategoryRenderContract >?
1111}
1212
1313data class AppRender (
1414 override val platform : String? ,
1515 override val appId : String? ,
16- override val docVersion : Long ? ,
17- override val appVersion : Long ? ,
16+ override val docVersion : Int ? ,
17+ override val appVersion : Int ? ,
1818 override val screens : List <ScreenRenderContract >? ,
1919 override val categories : List <CategoryRenderContract >?
2020) : AppRenderContract
You can’t perform that action at this time.
0 commit comments