oasisfeng / island

Island for Android
https://play.google.com/store/apps/details?id=com.oasisfeng.island
Apache License 2.0
2.71k stars 203 forks source link

Changing the font size on the work profile on Android 14 #466

Open eiqnepm opened 11 months ago

eiqnepm commented 11 months ago

How can I accomplish this?

On CalyxOS, when setting up a work profile, you are given the accessibility option in which you can change the font size.

Firefox for example has an option to scale text based on your font size. Unfortunately this does not work correctly in the work profile as the font size it is seeing is not the font size of my main profile, but the font size of the work profile itself. I do not know of a way to change the work profile font size.

eiqnepm commented 11 months ago

Figured it out. You need to use ADB.

cheetah:/ $ pm list users
Users:
        UserInfo{0:Owner:4c13} running
        UserInfo{10: Island :1030} running
cheetah:/ $ settings get system --user 0 font_scale
1.3
cheetah:/ $ settings put system --user 10 font_scale 1.3

It would still be cool if Island had a way of doing this without requiring ADB.