diff options
author | Artur Signell <artur@vaadin.com> | 2014-06-11 20:35:04 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2014-06-26 11:11:47 +0000 |
commit | 1b73b00b2875c5eafa3c641b77f5d9efc2f7d929 (patch) | |
tree | d41b978f8e58f3d294e46e88567e448b47fee450 /shared | |
parent | 949fb45841374204307b50f48d0d2d9ab921deb6 (diff) | |
download | vaadin-framework-1b73b00b2875c5eafa3c641b77f5d9efc2f7d929.tar.gz vaadin-framework-1b73b00b2875c5eafa3c641b77f5d9efc2f7d929.zip |
Allow changing theme on the fly (#2874)
Change-Id: I70c153c4109428686002f985bfe1cb7cba2c9b31
Diffstat (limited to 'shared')
-rw-r--r-- | shared/src/com/vaadin/shared/ui/ui/UIState.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shared/src/com/vaadin/shared/ui/ui/UIState.java b/shared/src/com/vaadin/shared/ui/ui/UIState.java index 3c3785b7d5..abdc105ba7 100644 --- a/shared/src/com/vaadin/shared/ui/ui/UIState.java +++ b/shared/src/com/vaadin/shared/ui/ui/UIState.java @@ -62,6 +62,7 @@ public class UIState extends TabIndexState { * Configuration for the push channel */ public PushConfigurationState pushConfiguration = new PushConfigurationState(); + public String theme; { primaryStyleName = "v-ui"; // Default is 1 for legacy reasons @@ -95,7 +96,7 @@ public class UIState extends TabIndexState { NotificationRole role) { this.prefix = prefix; this.postfix = postfix; - this.notificationRole = role; + notificationRole = role; } } |