mirror of
https://github.com/SimpleMobileTools/Simple-Voice-Recorder.git
synced 2025-02-11 01:00:36 +01:00
recreate the visualized at initialization to avoid stucking
This commit is contained in:
parent
99be9390d0
commit
369fe544ca
@ -87,6 +87,7 @@ class MainActivity : SimpleActivity() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun initVoiceRecorder() {
|
private fun initVoiceRecorder() {
|
||||||
|
visualizer.recreate()
|
||||||
bus = EventBus.getDefault()
|
bus = EventBus.getDefault()
|
||||||
bus!!.register(this)
|
bus!!.register(this)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user