Skip to content

Commit 7dccf71

Browse files
committed
nitpick
1 parent 8b15584 commit 7dccf71

File tree

1 file changed

+2
-2
lines changed
  • VolumeStepsIncrease/src/main/java/com/programminghoch10/VolumeStepsIncrease

1 file changed

+2
-2
lines changed

VolumeStepsIncrease/src/main/java/com/programminghoch10/VolumeStepsIncrease/Common.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import com.programminghoch10.VolumeStepsIncrease.StockValues.STREAM_SYSTEM
88
import com.programminghoch10.VolumeStepsIncrease.StockValues.STREAM_VOICE_CALL
99

1010
object Common {
11-
val SHARED_PREFERENCES_NAME = "streams"
11+
const val SHARED_PREFERENCES_NAME = "streams"
1212

1313
val STREAMS = StockValues::class.java.declaredFields.filter { it.name.startsWith("STREAM_") }.associate { it.name to it.getInt(null) }
1414

@@ -52,7 +52,7 @@ object Common {
5252
}
5353

5454
fun getModuleMinVolumeSteps(stream: Int): Int {
55-
return getSystemMinVolumeSteps((stream))
55+
return getSystemMinVolumeSteps(stream)
5656
}
5757

5858
fun getPreferenceKey(stream: Int): String {

0 commit comments

Comments
 (0)