File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
app/src/main/java/jp/kaleidot725/sample/ui/composable Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -50,8 +50,15 @@ fun Demo(text: String) {
5050 val clipboardManager = LocalClipboardManager .current
5151 val keyboardController = LocalSoftwareKeyboardController .current
5252
53- var textEditorState by remember { mutableStateOf(TextEditorState .create(text,
54- TextStyle (color= Color .Black ), TextStyle (color= Color .Green ))) }
53+ var textEditorState by remember {
54+ mutableStateOf(
55+ TextEditorState .create(
56+ text,
57+ TextStyle (color = Color .Black ),
58+ TextStyle (color = Color .Green )
59+ )
60+ )
61+ }
5562 val bottomPadding = if (textEditorState.isMultipleSelectionMode) 100 .dp else 0 .dp
5663 val contentBottomPaddingValue =
5764 with (LocalDensity .current) { WindowInsets .ime.getBottom(this ).toDp() }
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-7.5 -bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.0 -bin.zip
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments