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

Add rtl #247

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add rtl #247

wants to merge 2 commits into from

Conversation

mreslami
Copy link

Automatic rtl detection and field rtl in chewieController for the display buildBottomBar

),
),
);
}

List<Widget> createWidget(Color iconColor){
Locale myLocale = Localizations.localeOf(context);
isRtlLanguage( myLocale.languageCode);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Unneeded line

@nstrelow
Copy link
Collaborator

nstrelow commented Nov 9, 2020

Could you explain why this is needed?
Does the video player bottom bar need to be inverted for rtl countries?

Your solution is well thought out but misses a few things.

In my opinion we should not include localization libraries just to find out if rlt and then reverse the controls.

Is there any benefit or real need to reverse the controls?

@Ahmadre What's your opinion?

@Ahmadre
Copy link
Collaborator

Ahmadre commented Jun 8, 2021

Could you explain why this is needed?

Does the video player bottom bar need to be inverted for rtl countries?

Your solution is well thought out but misses a few things.

In my opinion we should not include localization libraries just to find out if rlt and then reverse the controls.

Is there any benefit or real need to reverse the controls?

@Ahmadre What's your opinion?

Rtl is not only related to localizations, but also to accessibility. It would be nice if left-handed people enjoy apps made with chewie.

I understand the automatic detection by language, but I would like to have a flag 'rtl' so the concrete app can handle the localization and chewie gets only the flag for the trigger.

So, thumbs up from me for this 👍🏼

@diegotori
Copy link
Collaborator

@mreslami please re-sync your changes with the latest master changes, then I'll be able to finish reviewing. Thanks in advance.

@diegotori diegotori self-requested a review February 17, 2022 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants