Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Voice Recorder iOS 17 style #2697

Open
wants to merge 14 commits into
base: development
Choose a base branch
from

Conversation

terry-brett
Copy link

@terry-brett terry-brett commented Mar 12, 2024

Updating the style for the voice recoder widget for the iOS skin. In iOS 17 there is a new waveform icon that's not avaliable in flutter, so have to add a custom icon here as a font.

This is what it looks like on iOS 17, while voice recorder is recording

light dark
IMG_3142 IMG_3141

Updated version on BB app in dark and light themes.

light dark
image image

Work done:

  • Added a new widget VoiceMessageRecorder
  • Refactored conversation_text_field with new widget, and using themed colors for the text field when audio is being recorded
  • Refactored text_field_suffixto use the new waveform icon and themed colors for iOS variant

Tested on Google Pixel 6 with all 3 skins avaliable in the app

@zlshames
Copy link
Member

FYI, we still plan to review this, just haven't had a chance!

@tneotia tneotia self-requested a review April 18, 2024 23:16
Copy link
Member

@tneotia tneotia left a comment

Choose a reason for hiding this comment

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

I'm going to make a few changes to the implementation just to cut down on the modifications, but they're hard to describe so once you finish these minor things I'll merge it and update from there. Thanks for the contribution!

@terry-brett
Copy link
Author

I'm going to make a few changes to the implementation just to cut down on the modifications, but they're hard to describe so once you finish these minor things I'll merge it and update from there. Thanks for the contribution!

Thanks for the review 😁 I've updated the PR with suggested changes. With custom colours is that something you don't want in general, or could this be behind a flag somewhere in the theme settings for example.

Also for the original waveform colour it's currently set to white, might just be me, but it's hard to see in light mode when recording, maybe that could also be changed in this PR? 🤔

Here's a screenshot of what I mean

image

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.

None yet

3 participants