重构上传

This commit is contained in:
2026-10-29 14:39:14 +08:00
parent 5739f7f8e7
commit 0cf352cabb
19 changed files with 1398 additions and 190 deletions
@@ -46,9 +46,9 @@ class CaptureViewModel : ViewModel() {
)
)
fun selectProfile(context: Context, profile: CaptureProfile) {
fun selectProfile(profile: CaptureProfile) {
CaptureStateHolder.selectProfile(profile)
SettingsStore.saveSelectedProfileId(context, profile.id)
SettingsStore.selectedProfileId = profile.id
}
fun startCapture(context: Context) {