* refactor: remove unused dead code across data, UI, and resources * fix: resolve dangling references left by dead-code removal Restore empty object Motion (braces required) and remove the 12 stale test usages that still called the now-deleted production symbols: - ServerStoreTest: removeServer/switchToServer tests - ServerEndpointTest: isCleartext assertions - ConnectViewModelTest: onHostChange/onPortChange tests + 3 dropped R.string refs - SettingsViewModelTest: renameProfile tests + clearNavigateToLogin - E2eIntegrationTest: previewSkill tests + onHostChange/onPortChange calls Verified locally: compileDebugUnitTestKotlin + 48 tests pass. * fix: remove unused imports flagged by ktlint Drops 4 no-longer-referenced imports left by the dead-code removal: - HermesApiService: SkillScanResponse (scanHubSkill removed) - ServerEndpointTest: assertFalse, assertTrue (isCleartext assertions dropped) - SettingsViewModelTest: assertFalse (rename tests removed) --------- Co-authored-by: M57 <hy4ri@users.noreply.github.com>
15 lines
313 B
Kotlin
15 lines
313 B
Kotlin
package com.m57.hermescontrol.theme
|
|
|
|
import androidx.compose.runtime.staticCompositionLocalOf
|
|
|
|
/**
|
|
* Motion tokens — duration, easing, and spring specs.
|
|
*
|
|
* Access via `LocalMotion.current` in composables.
|
|
*/
|
|
object Motion
|
|
|
|
val MotionDefaults = Motion
|
|
|
|
val LocalMotion = staticCompositionLocalOf { Motion }
|