Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jorgedanisc
Copy link
Contributor

The previous implementation checked for a built-in display to detect clamshell mode, but this doesn't work reliably when the laptop lid is closed from my experience now using the released version of the app. This PR updates the logic to check for a battery instead, which provides a more reliable way to identify whether the device is a laptop.

@cjpais
Copy link
Owner

cjpais commented Nov 18, 2025

works for me

@cjpais cjpais merged commit 97f3018 into cjpais:main Nov 18, 2025
zhuzhuyule pushed a commit to zhuzhuyule/Votype that referenced this pull request Nov 21, 2025
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.

2 participants