mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-04-19 15:26:03 -04:00
Relocate BitsquareUI#getPrimaryStage
This commit is contained in:
parent
f278db01ac
commit
ad1b3ccd1e
@ -58,10 +58,6 @@ public class BitsquareUI extends Application {
|
||||
this.injector = Guice.createInjector(bitsquareModule);
|
||||
}
|
||||
|
||||
public static Stage getPrimaryStage() {
|
||||
return primaryStage;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void start(Stage primaryStage) {
|
||||
BitsquareUI.primaryStage = primaryStage;
|
||||
@ -137,4 +133,8 @@ public class BitsquareUI extends Application {
|
||||
bitsquareModule.close(injector);
|
||||
System.exit(0);
|
||||
}
|
||||
|
||||
public static Stage getPrimaryStage() {
|
||||
return primaryStage;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user