From 1b73b00b2875c5eafa3c641b77f5d9efc2f7d929 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Wed, 11 Jun 2014 20:35:04 +0300 Subject: Allow changing theme on the fly (#2874) Change-Id: I70c153c4109428686002f985bfe1cb7cba2c9b31 --- shared/src/com/vaadin/shared/ui/ui/UIState.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'shared') 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; } } -- cgit v1.2.3