Skip to content

Conversation

@amitojsingh
Copy link
Collaborator

@amitojsingh amitojsingh commented Nov 3, 2025

  • Updated StatusBarComponent background color in multiple components for visual consistency.
  • Integrated BottomNavigation into HomeScreen, Bookmarks, ReaderScreen, and Settings for improved navigation.
  • Simplified BaniHeader component by removing unused props and imports.
  • Enhanced BottomNavigation functionality to dynamically handle navigation based on current state.
  • Added localization strings for new navigation items to support multiple languages.
  • Remove Audio Player Option from Audio Settings.
  • Change Playback minimum range from 1.0 to 0.5

- Updated StatusBarComponent background color in multiple components for visual consistency.
- Integrated BottomNavigation into HomeScreen, Bookmarks, ReaderScreen, and Settings for improved navigation.
- Simplified BaniHeader component by removing unused props and imports.
- Enhanced BottomNavigation functionality to dynamically handle navigation based on current state.
- Added localization strings for new navigation items to support multiple languages.
- Updated the icon size in the BottomNavigation component to a fixed value of 24 for consistency, removing conditional logic based on active key.
…ponents

- Removed hardcoded navigation items from Bookmarks component and updated BottomNavigation to directly use the navigation prop for improved flexibility.
- Cleaned up imports and streamlined code in HomeScreen by removing the BottomNavigation component, enhancing overall maintainability.
- Implemented handleBookmarkPress function to navigate to the bookmarks screen when the bookmark button is pressed.
- Updated ReaderScreen to utilize the new bookmark handler, enhancing user navigation experience.
- Added localization strings for navigation items in BottomNavigation, improving accessibility and user experience.
- Updated the rendering of navigation item text to utilize localized strings instead of hardcoded values.
- Removed unused audio toggle functionality to streamline the component.
- Adjusted audio playback speed validation to allow a range from 0.5 to 2.0 for better user control.
- Updated the disabled state for speed adjustment buttons to reflect the new playback speed limits.
DOWNLOADING: "ਡਾਊਨਲੋਡ ਹੋ ਰਹਿ ਰਹਾ ਹੈ",
NEXT: "ਅਗਲਾ",
HOME: "ਹੋਮ",
READ: "ਰੀਡ",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The translation of read is wrong here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

export default ReadIcon;

ReadIcon.propTypes = {
size: PropTypes.number.isRequired,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we are adding default values, we can remove the isRequired from propTypes.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

<Pressable
onPress={() => handleSpeedChange(audioPlaybackSpeed - 0.1)}
disabled={audioPlaybackSpeed < 1.0}
disabled={audioPlaybackSpeed <= 0.5}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this either be audioPlaybackSpeed < 0.5, or add <= in the handleSpeedChange function.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the handleSpeedChange function, it returns when the value is < 0.5, but it should still accept 0.5. However, when the slider reaches 0.5, touch gets disabled.

- Translated localization strings for HOME, READ, and MUSIC to enhance user experience.
- Updated ReadIcon component to set default props for size and color, improving flexibility and usability.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants