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

Lock Android to portrait mode #5355

Closed
wants to merge 1 commit into from
Closed

Conversation

peachbits
Copy link
Contributor

@peachbits peachbits commented Nov 8, 2024

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

none

Requirements

If you have made any visual changes to the GUI. Make sure you have:

  • Tested on iOS device
  • Tested on Android device
  • Tested on small-screen device (iPod Touch)
  • Tested on large-screen device (tablet)

This is already locked for iOS
@@ -43,6 +43,7 @@
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:screenOrientation="portrait"
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we put comments in here? Since this is a template file that comes from React Native, we could easily delete this line during an upgrade. So, we need to say "Edge addition: Fix for resolution issue" or something like that.

@swansontec
Copy link
Contributor

Per meeting, this won't work. We'd need to dynamically listen to resolution changes and refresh the theme. The Patina library has logic for handling theme changes dynamically.

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