Skip to content

Commit bb909c6

Browse files
fetiuDokySp
authored andcommitted
feat: add capture interval input [#28]
1 parent 649b56a commit bb909c6

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

presenter/src/main/java/com/foke/together/presenter/screen/SettingScreen.kt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import com.foke.together.presenter.theme.FourCutTogetherTheme
2727
import androidx.hilt.navigation.compose.hiltViewModel
2828
import com.foke.together.domain.interactor.entity.CameraSourceType
2929
import com.foke.together.presenter.viewmodel.SettingViewModel
30+
import com.foke.together.util.AppPolicy
3031
import kotlinx.coroutines.flow.map
3132

3233
private const val CameraSourceTypeError = -1
@@ -195,6 +196,19 @@ fun SettingScreen(
195196
) {
196197
Text(text = "Log In")
197198
}
199+
200+
HorizontalDivider(
201+
modifier = Modifier.padding(vertical = 16.dp).width(300.dp),
202+
color = MaterialTheme.colorScheme.onSurface.copy(alpha = 0.5f),
203+
thickness = 1.dp
204+
)
205+
206+
TextField(
207+
modifier = Modifier.width(300.dp),
208+
value = AppPolicy.CAPTURE_INTERVAL.toString(),
209+
onValueChange = { },
210+
label = { Text(text = "Capture Interval") }
211+
)
198212
}
199213
}
200214
}

0 commit comments

Comments
 (0)