some cleanup and some fixes
This commit is contained in:
@@ -54,6 +54,9 @@ class _VocabScreenState extends State<VocabScreen>
|
||||
super.initState();
|
||||
_tabController = TabController(length: 3, vsync: this);
|
||||
_tabController.addListener(() {
|
||||
if (_tabController.index == 2 && !_tabController.indexIsChanging) {
|
||||
_playCurrentAudio();
|
||||
}
|
||||
setState(() {});
|
||||
});
|
||||
_loadSettings();
|
||||
|
||||
Reference in New Issue
Block a user