mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 23:18:17 +01:00
Rename lockupViews to ReputationView
- To avoid that we handle lockup/unlock 2 times in the view we will remove the generic options (upcoming commits...)
This commit is contained in:
parent
8ce8813e89
commit
e7daaae9ee
3 changed files with 12 additions and 12 deletions
|
@ -28,7 +28,7 @@ import bisq.desktop.components.MenuItem;
|
|||
import bisq.desktop.main.MainView;
|
||||
import bisq.desktop.main.dao.DaoView;
|
||||
import bisq.desktop.main.dao.bonding.dashboard.BondingDashboardView;
|
||||
import bisq.desktop.main.dao.bonding.lockup.LockupView;
|
||||
import bisq.desktop.main.dao.bonding.reputation.ReputationView;
|
||||
import bisq.desktop.main.dao.bonding.roles.BondedRolesView;
|
||||
import bisq.desktop.main.dao.bonding.unlock.UnlockView;
|
||||
|
||||
|
@ -86,7 +86,7 @@ public class BondingView extends ActivatableViewAndModel {
|
|||
bondedRoles = new MenuItem(navigation, toggleGroup, Res.get("dao.bonding.menuItem.bondedRoles"),
|
||||
BondedRolesView.class, AwesomeIcon.SHIELD, baseNavPath);
|
||||
lockupBSQ = new MenuItem(navigation, toggleGroup, Res.get("dao.bonding.menuItem.lockupBSQ"),
|
||||
LockupView.class, AwesomeIcon.LOCK, baseNavPath);
|
||||
ReputationView.class, AwesomeIcon.LOCK, baseNavPath);
|
||||
unlockBSQ = new MenuItem(navigation, toggleGroup, Res.get("dao.bonding.menuItem.unlockBSQ"),
|
||||
UnlockView.class, AwesomeIcon.UNLOCK, baseNavPath);
|
||||
|
||||
|
@ -131,7 +131,7 @@ public class BondingView extends ActivatableViewAndModel {
|
|||
|
||||
if (view instanceof BondingDashboardView) dashboard.setSelected(true);
|
||||
else if (view instanceof BondedRolesView) bondedRoles.setSelected(true);
|
||||
else if (view instanceof LockupView) lockupBSQ.setSelected(true);
|
||||
else if (view instanceof ReputationView) lockupBSQ.setSelected(true);
|
||||
else if (view instanceof UnlockView) unlockBSQ.setSelected(true);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<?import javafx.scene.layout.AnchorPane?>
|
||||
<?import javafx.scene.layout.ColumnConstraints?>
|
||||
<?import javafx.scene.layout.GridPane?>
|
||||
<GridPane fx:id="root" fx:controller="bisq.desktop.main.dao.bonding.lockup.LockupView"
|
||||
<GridPane fx:id="root" fx:controller="bisq.desktop.main.dao.bonding.reputation.ReputationView"
|
||||
hgap="5.0" vgap="5.0"
|
||||
AnchorPane.bottomAnchor="20.0" AnchorPane.leftAnchor="20.0"
|
||||
AnchorPane.rightAnchor="25.0" AnchorPane.topAnchor="20.0"
|
|
@ -15,7 +15,7 @@
|
|||
* along with Bisq. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package bisq.desktop.main.dao.bonding.lockup;
|
||||
package bisq.desktop.main.dao.bonding.reputation;
|
||||
|
||||
import bisq.desktop.common.view.ActivatableView;
|
||||
import bisq.desktop.common.view.FxmlView;
|
||||
|
@ -59,7 +59,7 @@ import static bisq.desktop.util.FormBuilder.addInputTextField;
|
|||
import static bisq.desktop.util.FormBuilder.addTitledGroupBg;
|
||||
|
||||
@FxmlView
|
||||
public class LockupView extends ActivatableView<GridPane, Void> implements BsqBalanceListener {
|
||||
public class ReputationView extends ActivatableView<GridPane, Void> implements BsqBalanceListener {
|
||||
private final BsqWalletService bsqWalletService;
|
||||
private final BsqFormatter bsqFormatter;
|
||||
private final BsqBalanceUtil bsqBalanceUtil;
|
||||
|
@ -86,12 +86,12 @@ public class LockupView extends ActivatableView<GridPane, Void> implements BsqBa
|
|||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
@Inject
|
||||
private LockupView(BsqWalletService bsqWalletService,
|
||||
BsqFormatter bsqFormatter,
|
||||
BsqBalanceUtil bsqBalanceUtil,
|
||||
BondingViewUtils bondingViewUtils,
|
||||
BsqValidator bsqValidator,
|
||||
DaoFacade daoFacade) {
|
||||
private ReputationView(BsqWalletService bsqWalletService,
|
||||
BsqFormatter bsqFormatter,
|
||||
BsqBalanceUtil bsqBalanceUtil,
|
||||
BondingViewUtils bondingViewUtils,
|
||||
BsqValidator bsqValidator,
|
||||
DaoFacade daoFacade) {
|
||||
this.bsqWalletService = bsqWalletService;
|
||||
this.bsqFormatter = bsqFormatter;
|
||||
this.bsqBalanceUtil = bsqBalanceUtil;
|
Loading…
Add table
Reference in a new issue