Skip to content

Commit 19e0317

Browse files
committed
fixed 2fa button just not there
1 parent e1f3885 commit 19e0317

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/java/lol/hyper/customlauncher/login/windows/TwoFactorAuth.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class TwoFactorAuth extends JFrame {
2929

3030
public TwoFactorAuth(String title, String banner, String token) {
3131
JFrame frame = new JFrame(title);
32-
frame.setSize(370, 150);
32+
frame.setSize(370, 170);
3333
frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
3434
frame.setResizable(false);
3535
try {
@@ -61,8 +61,9 @@ public void keyTyped(KeyEvent e) {
6161
JButton loginButton = new JButton("Submit");
6262

6363
userAuthCode.setMaximumSize(new Dimension(50, 25));
64-
text.setBounds(20, 20, 150, 30);
64+
text.setBounds(120, 20, 200, 30);
6565
userAuthCode.setBounds(120, 65, 70, 30);
66+
loginButton.setBounds(120, 100, 100, 30);
6667

6768
panel.add(text);
6869
panel.add(userAuthCode);

0 commit comments

Comments
 (0)