package router;

import javax.servlet.http.HttpServletRequest;

import org.skyve.impl.web.UserAgent.UserAgentType;
import org.skyve.metadata.router.UxUi;
import org.skyve.metadata.router.UxUiSelector;

public class DefaultUxUiSelector implements UxUiSelector {
	private static final UxUi PHONE = new UxUi("phone", "water");
	private static final UxUi TABLET = new UxUi("tablet", "omega");
	private static final UxUi DESKTOP = new UxUi("desktop", "omega");
	private static final UxUi EXTERNAL = new UxUi("external", "casablanca");
	
	@Override
	public UxUi select(UserAgentType userAgentType, HttpServletRequest request) {
		switch (userAgentType) {
			case phone:
				return PHONE;
			case tablet:
				return TABLET;
			case desktop:
				return DESKTOP;
			default:
				return EXTERNAL;
		}
	}
}

@@ -436,28 +436,33 @@
 %22desktop%22, %22
-omeg
+casablanc
 a%22);%0A%09privat
@@ -510,33 +510,28 @@
 external%22, %22
-casablanc
+omeg
 a%22);%0A%09%0A%09@Ove

Fix the PF themes used in the default UX/UI selection.