Skip to content

Commit da72f36

Browse files
committed
Conforming to Lint; changed gradle version to 8.0, this might be reverted later or not
1 parent 5661377 commit da72f36

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

app/src/main/java/jp/kaleidot725/sample/ui/composable/Demo.kt

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff 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() }
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=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
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)