Skip to content

Commit c478611

Browse files
committed
minor lint issue fix
1 parent 4a84493 commit c478611

File tree

1 file changed

+1
-1
lines changed
  • common/src/main/java/io/github/yamin8000/owl/common/ui/components

1 file changed

+1
-1
lines changed

common/src/main/java/io/github/yamin8000/owl/common/ui/components/Texts.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,8 @@ fun SpeakableRippleTextWithIcon(
272272
onDoubleClick: ((String) -> Unit)? = null,
273273
content: @Composable (() -> Unit)? = null
274274
) {
275+
val increaseVolumeText = stringResource(R.string.increase_volume_notice)
275276
val context = LocalContext.current
276-
val increaseVolumeText = context.getString(R.string.increase_volume_notice)
277277
val audio = remember {
278278
context.findActivity()?.getSystemService(Context.AUDIO_SERVICE) as AudioManager?
279279
}

0 commit comments

Comments
 (0)