refactor: almost ready for v0.1.0
- 优化 `Shared` 中的 `Codec` 枚举,增加显示名称并添加 `isLossyAudio` 函数 - 简化 `Codec`、`VideoSource`、`AudioSource` 和 `CameraFacing` 枚举中的 `fromString` 方法 - 将 `fetchConnectedDeviceInfo` 改为挂起函数以支持协程 - 清理 `PreferenceMigration` 和 `ScrcpyOptions`,提高可读性 - 更新 `Settings` 类,添加 `isDefaultValue` 挂起函数 - 改进 `DeviceWidgets`,增强状态管理和 UI 响应性
This commit is contained in:
@@ -98,6 +98,7 @@ dependencies {
|
||||
implementation("org.conscrypt:conscrypt-android:2.5.2")
|
||||
implementation("sh.calvin.reorderable:reorderable:3.0.0")
|
||||
implementation("androidx.datastore:datastore-preferences:1.2.1")
|
||||
implementation(libs.androidx.compose.runtime)
|
||||
|
||||
testImplementation(libs.junit)
|
||||
androidTestImplementation(platform(libs.androidx.compose.bom))
|
||||
|
||||
Reference in New Issue
Block a user