@ -24,6 +24,7 @@ import com.sparrowwallet.sparrow.event.*;
import com.sparrowwallet.sparrow.io.* ;
import com.sparrowwallet.sparrow.io.* ;
import com.sparrowwallet.sparrow.net.ElectrumServer ;
import com.sparrowwallet.sparrow.net.ElectrumServer ;
import com.sparrowwallet.sparrow.net.ServerType ;
import com.sparrowwallet.sparrow.net.ServerType ;
import com.sparrowwallet.sparrow.preferences.PreferenceGroup ;
import com.sparrowwallet.sparrow.preferences.PreferencesDialog ;
import com.sparrowwallet.sparrow.preferences.PreferencesDialog ;
import com.sparrowwallet.sparrow.transaction.TransactionController ;
import com.sparrowwallet.sparrow.transaction.TransactionController ;
import com.sparrowwallet.sparrow.transaction.TransactionData ;
import com.sparrowwallet.sparrow.transaction.TransactionData ;
@ -260,6 +261,15 @@ public class AppController implements Initializable {
}
}
}
}
public void showIntroduction ( ActionEvent event ) {
WelcomeDialog welcomeDialog = new WelcomeDialog ( ) ;
Optional < Mode > optionalMode = welcomeDialog . showAndWait ( ) ;
if ( optionalMode . isPresent ( ) & & optionalMode . get ( ) . equals ( Mode . ONLINE ) ) {
PreferencesDialog preferencesDialog = new PreferencesDialog ( PreferenceGroup . SERVER ) ;
preferencesDialog . showAndWait ( ) ;
}
}
public void showAbout ( ActionEvent event ) {
public void showAbout ( ActionEvent event ) {
Stage aboutStage = getAboutStage ( ) ;
Stage aboutStage = getAboutStage ( ) ;
aboutStage . show ( ) ;
aboutStage . show ( ) ;