Skip to content

Commit

Permalink
todo
Browse files Browse the repository at this point in the history
  • Loading branch information
StageGuard committed Feb 2, 2025
1 parent 89031fa commit a27edcd
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@ import kotlin.time.Duration.Companion.days
import kotlin.time.Duration.Companion.seconds

/**
* Todo: 这些页面的 view model 逻辑实际上互不相关
* 所以可以考虑拆分逻辑 至 use case, 与设置页面 view model 对应的逻辑合并
* Todo: 这些页面的 view model 逻辑实际上互不相关.
* 所以可以考虑拆分逻辑至 use case, 与设置页面 view model 对应的逻辑合并.
* 这样的好处很明显, 减少 view model 的复杂度, 使其更容易维护, 也方便写单元测试.
*/
class WelcomeViewModel : AbstractSettingsViewModel(), KoinComponent {
private val settingsRepository: SettingsRepository by inject()
Expand Down

0 comments on commit a27edcd

Please sign in to comment.