File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
app/src/main/kotlin/com/simplemobiletools/camera/helpers Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -103,17 +103,17 @@ class MediaActionSound(private val context: Context) {
103103 return 0
104104 }
105105
106- when (val mediaSound = sound.mediaSound!! ) {
106+ when (sound.mediaSound) {
107107 is MediaSound .ManufacturerSound -> {
108108 for (soundDir in SOUND_DIRS ) {
109- val soundPath = soundDir + mediaSound.fileName
110- mediaSound.path = soundPath
109+ val soundPath = soundDir + sound. mediaSound.fileName
110+ sound. mediaSound.path = soundPath
111111 id = soundPool!! .load(soundPath, 1 )
112112 break
113113 }
114114 }
115115 is MediaSound .RawResSound -> {
116- id = soundPool!! .load(context, mediaSound.resId, 1 )
116+ id = soundPool!! .load(context, sound. mediaSound.resId, 1 )
117117 }
118118 }
119119
You can’t perform that action at this time.
0 commit comments