We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Could it be, that modals dont restyle? (I am working with teacup along promotion)
I have this simple UIView which works with restyle!
restyle!
class HomeScreen < PM::Screen title "Dashboard" stylesheet :home_screen layout :layout_style do subview UILabel, :featured_title end def on_load open_modal WelcomeScreen end def on_rotate self.view.backgroundColor = UIColor.grayColor self.view.restyle! end end
But this does not work (same code in a modal window)
class WelcomeScreen < PM::Screen title "Please login first" stylesheet :welcome layout :welcome_background do subview UILabel, :featured_title end def on_rotate self.view.backgroundColor = UIColor.grayColor self.view.restyle! end def dismiss_modal close saved: true end end
The text was updated successfully, but these errors were encountered:
That's strange, for sure. Can you upload a project that demonstrates this?
Sorry, something went wrong.
No branches or pull requests
Could it be, that modals dont restyle?
(I am working with teacup along promotion)
I have this simple UIView which works with
restyle!
But this does not work (same code in a modal window)
The text was updated successfully, but these errors were encountered: