Skip to content

Commit

Permalink
feat: add capture interval input [FoKE-Developers#28]
Browse files Browse the repository at this point in the history
  • Loading branch information
fetiu authored and DokySp committed Oct 11, 2024
1 parent 649b56a commit bb909c6
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import com.foke.together.presenter.theme.FourCutTogetherTheme
import androidx.hilt.navigation.compose.hiltViewModel
import com.foke.together.domain.interactor.entity.CameraSourceType
import com.foke.together.presenter.viewmodel.SettingViewModel
import com.foke.together.util.AppPolicy
import kotlinx.coroutines.flow.map

private const val CameraSourceTypeError = -1
Expand Down Expand Up @@ -195,6 +196,19 @@ fun SettingScreen(
) {
Text(text = "Log In")
}

HorizontalDivider(
modifier = Modifier.padding(vertical = 16.dp).width(300.dp),
color = MaterialTheme.colorScheme.onSurface.copy(alpha = 0.5f),
thickness = 1.dp
)

TextField(
modifier = Modifier.width(300.dp),
value = AppPolicy.CAPTURE_INTERVAL.toString(),
onValueChange = { },
label = { Text(text = "Capture Interval") }
)
}
}
}
Expand Down

0 comments on commit bb909c6

Please sign in to comment.