Open asomethings opened 5 years ago
Problem
selectedFont wasn't working. The code was only checking selectedFont and sending font only the normal font
pagerController.scrollToController(at:animate:) Only Tab bar was animating. But I wanted pagerController to animate too.
Fix
Fixed the code by checking selectedTextFont and sending selectedTextFont if it exists. Added setContentOffset's animate value to animate variable
selectedFont wasn't working. The code was only checking selectedFont and sending font only the normal font
pagerController.scrollToController(at:animate:) Only Tab bar was animating. But I wanted pagerController to animate too.
Fixed the code by checking selectedTextFont and sending selectedTextFont if it exists. Added setContentOffset's animate value to animate variable