### Current behaviour <!-- Describe your issue in detail --> On Android, when switching the provided theme between dark and light modes, the button's background color does not update. ### Expected behaviour <!-- A clear and concise description of what you expected to happen --> The button's background color should update accordingly when the theme is switched between dark and light modes. ### How to reproduce? <!-- Help us to reproduce the issue and describe the steps --> 1. Wrap your app with PaperProvider and provide a theme. 2. Use React state to toggle between dark and light themes. <!-- Attach code example on snack.expo.dev or in a GitHub repo --> https://snack.expo.dev/@tonihm96/react-native-paper-button-background-color ### Preview <!-- Include screenshots or video if applicable. --> https://github.com/user-attachments/assets/6ec889eb-3f70-4e5b-99b3-c68d494b1641 ### What have you tried so far? <!-- List down the steps you have tried to fix or identify the issue. --> I created a wrapper Button component based on the one provided by the library and passed the desired background color via the contentStyle prop. ### Your Environment | software | version | --------------------- | ------- | ios | unknown | android | 14 | react-native | 0.76.3 | react-native-paper | 5.12.5 | node | 20.12.1 | npm | 10.8.2 | expo sdk | 52.0.14
Current behaviour
On Android, when switching the provided theme between dark and light modes, the button's background color does not update.
Expected behaviour
The button's background color should update accordingly when the theme is switched between dark and light modes.
How to reproduce?
https://snack.expo.dev/@tonihm96/react-native-paper-button-background-color
Preview
screen-recording.mp4
What have you tried so far?
I created a wrapper Button component based on the one provided by the library and passed the desired background color via the contentStyle prop.
Your Environment