<p>There is a lot of checks like:</p>
<pre><code>if (!isBtc)
        gridPane.getColumnConstraints().remove(1);

if (isBtc)
        addMultilineLabel(gridPane, ++rowIndex, Res.get("emptyWalletWindow.info"), 0);
</code></pre>
<p>in <a href="https://github.com/bisq-network/bisq/blob/a26366ee0d5f4991e3807e65d475d01a2451e26b/desktop/src/main/java/bisq/desktop/main/overlays/windows/EmptyWalletWindow.java">EmptyWalletWindow</a></p>
<p>In this pull request I split this logic into separate classes, to make it more readable.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/bisq-network/bisq/pull/3660'>https://github.com/bisq-network/bisq/pull/3660</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Split EmptyWalletWindow into BsqEmptyWalletWindow and BtcEmptyWalletWindow</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/3660/files#diff-0">desktop/src/main/java/bisq/desktop/app/BisqApp.java</a>
    (19)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/bisq-network/bisq/pull/3660/files#diff-1">desktop/src/main/java/bisq/desktop/main/overlays/windows/BsqEmptyWalletWindow.java</a>
    (87)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/bisq-network/bisq/pull/3660/files#diff-2">desktop/src/main/java/bisq/desktop/main/overlays/windows/BtcEmptyWalletWindow.java</a>
    (156)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/bisq-network/bisq/pull/3660.patch'>https://github.com/bisq-network/bisq/pull/3660.patch</a></li>
  <li><a href='https://github.com/bisq-network/bisq/pull/3660.diff'>https://github.com/bisq-network/bisq/pull/3660.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/pull/3660?email_source=notifications&email_token=AJFFTNSXBN5XJBQAGV32RODQU7M6TA5CNFSM4JQQU2MKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H3MLQBQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNRP55OKJW7MRZJDQTDQU7M6TANCNFSM4JQQU2MA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNTWF7JEVSLH3KQOSPLQU7M6TA5CNFSM4JQQU2MKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H3MLQBQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/pull/3660?email_source=notifications\u0026email_token=AJFFTNSXBN5XJBQAGV32RODQU7M6TA5CNFSM4JQQU2MKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H3MLQBQ",
"url": "https://github.com/bisq-network/bisq/pull/3660?email_source=notifications\u0026email_token=AJFFTNSXBN5XJBQAGV32RODQU7M6TA5CNFSM4JQQU2MKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H3MLQBQ",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>