mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-10-01 01:35:48 -04:00
splash screen shows "test network" if not mainnet
This commit is contained in:
parent
1d46818732
commit
c7080f3dbc
@ -1,6 +1,12 @@
|
||||
/* splash screen */
|
||||
/*noinspection CssUnknownTarget*/
|
||||
#image-splash-logo {
|
||||
-fx-image: url("../../images/logo_splash.png");
|
||||
}
|
||||
|
||||
/* splash screen testnet */
|
||||
/*noinspection CssUnknownTarget*/
|
||||
#image-splash-testnet-logo {
|
||||
-fx-image: url("../../images/logo_splash_testnet.png");
|
||||
}
|
||||
|
||||
|
@ -50,6 +50,8 @@ import bisq.core.provider.price.MarketPrice;
|
||||
import bisq.common.HavenoException;
|
||||
import bisq.common.Timer;
|
||||
import bisq.common.UserThread;
|
||||
import bisq.common.config.BaseCurrencyNetwork;
|
||||
import bisq.common.config.Config;
|
||||
import bisq.common.util.Tuple2;
|
||||
import bisq.common.util.Utilities;
|
||||
|
||||
@ -522,8 +524,7 @@ public class MainView extends InitializableView<StackPane, MainViewModel> {
|
||||
vBox.setId("splash");
|
||||
|
||||
ImageView logo = new ImageView();
|
||||
logo.setId("image-splash-logo");
|
||||
|
||||
logo.setId(Config.baseCurrencyNetwork() == BaseCurrencyNetwork.XMR_MAINNET ? "image-splash-logo" : "image-splash-testnet-logo");
|
||||
|
||||
// createBitcoinInfoBox
|
||||
btcSplashInfo = new AutoTooltipLabel();
|
||||
|
Loading…
Reference in New Issue
Block a user