Skip to content

Commit 1f5cb48

Browse files
committed
remove update button since it's broken
1 parent 7684a7f commit 1f5cb48

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/main/java/lol/hyper/customlauncher/accounts/windows/MainWindow.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -102,16 +102,6 @@ public MainWindow(String title) {
102102
optionsButton.setMaximumSize(new Dimension(300, optionsButton.getMinimumSize().height));
103103
panel.add(optionsButton);
104104

105-
// update button
106-
JButton updateButton = new JButton("Check TTR Updates");
107-
updateButton.addActionListener(e -> {
108-
JFrame updater = new Updater("Updater", Paths.get(Main.pathToUse));
109-
updater.dispose();
110-
});
111-
updateButton.setAlignmentX(Component.CENTER_ALIGNMENT);
112-
updateButton.setMaximumSize(new Dimension(300, updateButton.getMinimumSize().height));
113-
panel.add(updateButton);
114-
115105
accountList.addMouseListener(new MouseAdapter() {
116106
public void mouseClicked(MouseEvent evt) {
117107
JList list = (JList) evt.getSource();

0 commit comments

Comments
 (0)