Regarding crashing of todo Application

I am having issue in todo app as I am using view Binding and the app is crashing This is my github link for the project- https://github.com/Nitin1130/Todo-App-Android-Application

Caused by: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_SUPPORT_ACTION_BAR and set windowActionBar to false in your theme to use a Toolbar instead.

This is the crash message you get

To avoid this you can remove this line

Or use

    <style name="Theme.TodoApp" parent="Theme.MaterialComponents.DayNight.NoActionBar">

in the line https://github.com/Nitin1130/Todo-App-Android-Application/blob/master/app/src/main/res/values/themes.xml#L3

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.