Browse Source

remove dead code

Martin Beyer 3 years ago
parent
commit
21f45d43f7
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/main/java/org/cryptomator/ui/mainwindow/MainWindowModule.java

+ 0 - 2
src/main/java/org/cryptomator/ui/mainwindow/MainWindowModule.java

@@ -25,7 +25,6 @@ import org.cryptomator.ui.vaultoptions.VaultOptionsComponent;
 import org.cryptomator.ui.wrongfilealert.WrongFileAlertComponent;
 
 import javax.inject.Provider;
-import java.awt.*;
 import java.util.Map;
 import java.util.ResourceBundle;
 
@@ -50,7 +49,6 @@ abstract class MainWindowModule {
 	@MainWindowScoped
 	static Stage provideStage(StageFactory factory) {
 		Stage stage = factory.create(StageStyle.UNDECORATED);
-		Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
 		stage.setMinWidth(650);
 		stage.setMinHeight(440);
 		stage.setTitle("Cryptomator");