Fixed random generator
This commit is contained in:
@ -93,7 +93,7 @@ class MainActivity : ComponentActivity() {
|
||||
onClick = {
|
||||
vibrator.vibrate(
|
||||
VibrationEffect.createWaveform(
|
||||
LongArray(Random.Default.nextInt(10)){
|
||||
LongArray(Random.Default.nextInt(2,10)){
|
||||
Random.Default.nextLong(100, 2000)},
|
||||
1))
|
||||
isVibrating = true
|
||||
|
||||
Reference in New Issue
Block a user