remove balance in joinstr ui

This commit is contained in:
/dev/fd0 2025-05-22 00:21:15 +05:30
parent 1f381a39c6
commit d7655924ea

View file

@ -11,53 +11,35 @@
<BorderPane stylesheets="@joinstr.css, @../wallet/wallet.css" xmlns="http://javafx.com/javafx" xmlns:fx="http://javafx.com/fxml" fx:controller="com.sparrowwallet.sparrow.joinstr.JoinstrController"
maxHeight="-Infinity" maxWidth="-Infinity" prefHeight="770.0" prefWidth="1070.0">
<left>
<VBox fx:id="joinstrMenuBox" styleClass="list-menu">
<Pane styleClass="spacerV50" />
<ToggleButton VBox.vgrow="ALWAYS" text="New pool" contentDisplay="CENTER" styleClass="list-item" maxHeight="Infinity">
<toggleGroup>
<ToggleGroup fx:id="joinstrMenu" />
</toggleGroup>
<userData>
<JoinstrDisplay fx:constant="NEW_POOL"/>
</userData>
</ToggleButton>
<ToggleButton VBox.vgrow="ALWAYS" text="My Pools" contentDisplay="CENTER" styleClass="list-item" maxHeight="Infinity" toggleGroup="$joinstrMenu">
<userData>
<JoinstrDisplay fx:constant="MY_POOLS"/>
</userData>
</ToggleButton>
<ToggleButton VBox.vgrow="ALWAYS" text="Other pools" contentDisplay="CENTER" styleClass="list-item" maxHeight="Infinity" toggleGroup="$joinstrMenu">
<userData>
<JoinstrDisplay fx:constant="OTHER_POOLS"/>
</userData>
</ToggleButton>
<ToggleButton VBox.vgrow="ALWAYS" text="History" contentDisplay="CENTER" styleClass="list-item" maxHeight="Infinity" toggleGroup="$joinstrMenu">
<userData>
<JoinstrDisplay fx:constant="HISTORY"/>
</userData>
</ToggleButton>
<VBox>
<Pane styleClass="spacerV25" />
<HBox>
<VBox maxWidth="Infinity" HBox.hgrow="ALWAYS" styleClass="joinstr-balance-container">
<Label fx:id="joinstrBalanceTitle" styleClass="joinstr-balance-label">
Current balance:
</Label>
<Label fx:id="joinstrBalanceValue" styleClass="joinstr-balance-label">
0.00000001
<graphic>
<Glyph fontFamily="FontAwesome" icon="BTC" fontSize="20" />
</graphic>
</Label>
</VBox>
</HBox>
<Pane styleClass="spacerV25" />
</VBox>
</VBox>
<VBox fx:id="joinstrMenuBox" styleClass="list-menu">
<Pane styleClass="spacerV50" />
<ToggleButton VBox.vgrow="ALWAYS" text="New pool" contentDisplay="CENTER" styleClass="list-item" maxHeight="Infinity">
<toggleGroup>
<ToggleGroup fx:id="joinstrMenu" />
</toggleGroup>
<userData>
<JoinstrDisplay fx:constant="NEW_POOL"/>
</userData>
</ToggleButton>
<ToggleButton VBox.vgrow="ALWAYS" text="My Pools" contentDisplay="CENTER" styleClass="list-item" maxHeight="Infinity" toggleGroup="$joinstrMenu">
<userData>
<JoinstrDisplay fx:constant="MY_POOLS"/>
</userData>
</ToggleButton>
<ToggleButton VBox.vgrow="ALWAYS" text="Other pools" contentDisplay="CENTER" styleClass="list-item" maxHeight="Infinity" toggleGroup="$joinstrMenu">
<userData>
<JoinstrDisplay fx:constant="OTHER_POOLS"/>
</userData>
</ToggleButton>
<ToggleButton VBox.vgrow="ALWAYS" text="History" contentDisplay="CENTER" styleClass="list-item" maxHeight="Infinity" toggleGroup="$joinstrMenu">
<userData>
<JoinstrDisplay fx:constant="HISTORY"/>
</userData>
</ToggleButton>
</VBox>
</left>
<center>
<StackPane fx:id="joinstrPane" styleClass="joinstr-pane">
</StackPane>
</center>
</BorderPane>