Answers for "user UI theme + salesforve"

0

user UI theme + salesforve

public with sharing class UIThemeController {
   @AuraEnabled
    public static String getUIThemeDescription() {
        String theme = UserInfo.getUiThemeDisplayed();
        return theme;
    }
}
Posted by: Guest on June-25-2020

Browse Popular Code Answers by Language