Skip to content

Commit

Permalink
feat: support idea 232
Browse files Browse the repository at this point in the history
Signed-off-by: dingjiefeng <[email protected]>
  • Loading branch information
dingjiefeng committed Oct 31, 2023
1 parent 6bbb31e commit 64c310a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@ public class SyncStatusWidget implements StatusBarWidget {

private final StatusBar statusBar;
private final Project project;
private final SyncStatusPresentation syncStatusPresentation;
private Thread updateThread = null;
private boolean forceExit = false;


public SyncStatusWidget(Project project) {
this.statusBar = WindowManager.getInstance().getStatusBar(project);
this.project = project;
syncStatusPresentation = new SyncStatusPresentation(project, statusBar, this);
}

@Override
Expand All @@ -31,7 +33,7 @@ public SyncStatusWidget(Project project) {

@Override
public @Nullable WidgetPresentation getPresentation() {
return new SyncStatusPresentation(project, statusBar, this);
return syncStatusPresentation;
}

@Override
Expand Down

0 comments on commit 64c310a

Please sign in to comment.