Skip to content

Commit

Permalink
解决 compatibility problem
Browse files Browse the repository at this point in the history
  • Loading branch information
0xlau committed Feb 4, 2023
1 parent 0b8c3b8 commit c5804ae
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -27,7 +27,7 @@ static LiteFlowToolWindowService getInstance(@NotNull Project project) {
* @param toolWindow toolWindow
*/
default void init(@NotNull ToolWindow toolWindow) {
ContentFactory contentFactory = ContentFactory.getInstance();
ContentFactory contentFactory = ContentFactory.SERVICE.getInstance();
Content content = contentFactory.createContent(getContent(), "", false);
toolWindow.getContentManager().addContent(content);
}
Expand Down

0 comments on commit c5804ae

Please sign in to comment.