mirror of
https://github.com/koodo-reader/koodo-reader.git
synced 2025-12-23 15:07:55 -05:00
- Updated Background component to receive scale and margin from props instead of state. - Implemented UNSAFE_componentWillReceiveProps in Background and Viewer components to handle prop changes for scale, margin, and reader mode. - Modified mapStateToProps in relevant components to include scale and margin from the Redux store. - Adjusted SliderList component to handle scale and margin changes without reloading books. - Updated ThemeList and NavigationPanel components to use backgroundColor from props. - Enhanced reader settings to manage background color, scale, and margin through Redux actions. - Refactored related interfaces and actions to accommodate new props and state management.