重构上传
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user