mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-06-10 16:13:08 -04:00
Relocate BitsquareUI#getPrimaryStage
This commit is contained in:
parent
f278db01ac
commit
ad1b3ccd1e
1 changed files with 4 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue