Skip to content

Quick settings tile - #39

Open
ngregrichardson wants to merge 5 commits into
fosrl:devfrom
ngregrichardson:quick-settings-tile
Open

Quick settings tile#39
ngregrichardson wants to merge 5 commits into
fosrl:devfrom
ngregrichardson:quick-settings-tile

Conversation

@ngregrichardson

@ngregrichardson ngregrichardson commented Jul 29, 2026

Copy link
Copy Markdown

Community Contribution License Agreement

By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.

Description

Adds a quick settings tile that allows you to quickly check the status and toggle the VPN (see https://github.com/orgs/fosrl/discussions/2955). I haven't worked in Kotlin before, so this was very much a "following the docs" situation. Any feedback is appreciated.

How to test?

  1. Log into your pangolin instance
  2. Swipe down and open the "Quick Settings" edit screen
  3. Add the Pangolin quick settings tile (width of 2 to see the status)
  4. Click the quick settings tile and see the VPN turn to "Connected" in the app
  5. Disconnect in the app and see the quick settings tile turn to "Disconnected"

To Do

  • I have not been able to test as low as Android 7.0 because my emulator does not have an updated cert store, so I cannot even log into my pangolin instance. Working on getting that set up now.

  • The icon was the existing one, just reused, so it looks a bit small.

@ngregrichardson

Copy link
Copy Markdown
Author

This works well on Android 7.0 still. Did realize in testing that that the post-install process is not great (before you've granted permissions to create a VPN)

@ngregrichardson
ngregrichardson marked this pull request as ready for review July 29, 2026 02:22
@ngregrichardson

Copy link
Copy Markdown
Author

I think this looks good from my end now, would love for someone to do some more testing and give feedback when possible!

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.

1 participant