mirror of
https://github.com/russok/FitoTrack.git
synced 2025-10-28 16:22:12 -07:00
Fix crash
This commit is contained in:
parent
fb2f78b9ee
commit
20d0b859a2
@ -91,7 +91,9 @@ public class SettingsActivity extends FitoTrackSettingsActivity {
|
||||
// TextToSpeech is not available
|
||||
Toast.makeText(SettingsActivity.this, R.string.ttsNotAvailable, Toast.LENGTH_LONG).show();
|
||||
}
|
||||
if (voiceAnnouncements != null) {
|
||||
voiceAnnouncements.destroy();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user