Skip to content

Commit

Permalink
Should not scan this
Browse files Browse the repository at this point in the history
  • Loading branch information
xpdota committed Jul 21, 2022
1 parent 43f285d commit 6a761f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion xivsupport/src/main/java/gg/xp/xivsupport/gui/GuiMain.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
import gg.xp.xivsupport.models.XivEntity;
import gg.xp.xivsupport.models.XivPlayerCharacter;
import gg.xp.xivsupport.models.XivZone;
import gg.xp.xivsupport.persistence.PersistenceProvider;
import gg.xp.xivsupport.persistence.gui.BooleanSettingGui;
import gg.xp.xivsupport.persistence.gui.IntSettingSpinner;
import gg.xp.xivsupport.persistence.settings.BooleanSetting;
Expand Down Expand Up @@ -169,7 +170,7 @@ public GuiMain(EventMaster master, MutablePicoContainer container) {
SwingUtilities.invokeLater(() -> tabPane.addTab("Map", container.getComponent(MapTab.class)));
SwingUtilities.invokeLater(() -> tabPane.addTab("Library", container.getComponent(LibraryTab.class)));
SwingUtilities.invokeLater(() -> tabPane.addTab("Groovy", new GroovyTab(container.getComponent(GroovyManager.class))));
SwingUtilities.invokeLater(() -> tabPane.addTab("Updates", container.getComponent(UpdatesPanel.class)));
SwingUtilities.invokeLater(() -> tabPane.addTab("Updates", new UpdatesPanel(container.getComponent(PersistenceProvider.class))));
SwingUtilities.invokeLater(() -> tabPane.addTab("Advanced", new AdvancedTab(container)));
SwingUtilities.invokeLater(() -> {
long end = System.currentTimeMillis();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package gg.xp.xivsupport.gui.tabs;

import gg.xp.reevent.scan.ScanMe;
import gg.xp.xivsupport.gui.TitleBorderFullsizePanel;
import gg.xp.xivsupport.gui.overlay.RefreshLoop;
import gg.xp.xivsupport.gui.util.GuiUtil;
Expand All @@ -23,7 +22,6 @@
import java.util.concurrent.Executors;
import java.util.function.Consumer;

@ScanMe
public class UpdatesPanel extends TitleBorderFullsizePanel implements TabAware {
private static final Logger log = LoggerFactory.getLogger(UpdatesPanel.class);
private static final String propsOverrideFileName = "update.properties";
Expand Down Expand Up @@ -172,7 +170,8 @@ private void setUpdateCheckStatus(UpdateCheckStatus updateCheckStatus) {
log.info("Update answer: {}", answer);
switch (answer) {
case 0 -> updateNow();
case 1 -> {}
case 1 -> {
}
case 2 -> updateCheckNag.set(false);
}
}
Expand Down

0 comments on commit 6a761f3

Please sign in to comment.