Open kallmetony opened 4 months ago
Same on PC
Hey, @kallmetony, or @kayman233 do you maybe have a reproduction repo? I was not able to replicate this issue
Are you sure you get theme variables correctly?
Hello @toplenboren I fixed my issue by making sure the right value is in AppRoot's appearance prop.
Hello @toplenboren I fixed my issue by making sure the right value is in AppRoot's appearance prop.
wdym
@kallmetony do you have your app wrapped by <AppRoot>...</AppRoot>
?
@toplenboren I use nextjs but sure, I do
@kallmetony you can check how it should be specified with appearance
prop in the template example:
https://github.com/Telegram-Mini-Apps/nextjs-template/blob/master/src/components/Root/Root.tsx#L44
@toplenboren I use nextjs but sure, I do
hmm, might be smth with SSR, not sure if theme as available while rendering on server...
Its not working on both Android and IOS. Light theme looks fine.