mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Hide Hostname progressView when not showing any message to get a better view of the list.
This commit is contained in:
1 parent
74cad0a154
commit
3667f35c31
1 file changed
+2
-2
@@ -1999,7 +1999,7 @@ void HostnameSelectScreen::CreatePopupContents(UI::ViewGroup *parent) {
|
||||
listIP.clear(); listIP.shrink_to_fit();
|
||||
|
||||
progressView_ = parent->Add(new TextView(n->T("Validating address..."), ALIGN_HCENTER, false, new LinearLayoutParams(Margins(0, 5, 0, 0))));
|
||||
progressView_->SetVisibility(V_INVISIBLE);
|
||||
progressView_->SetVisibility(UI::V_GONE);
|
||||
}
|
||||
|
||||
void HostnameSelectScreen::SendEditKey(int keyCode, int flags) {
|
||||
@@ -2119,7 +2119,7 @@ bool HostnameSelectScreen::CanComplete(DialogResult result) {
|
||||
lastResolvedResult_ = toResolveResult_;
|
||||
|
||||
if (lastResolvedResult_) {
|
||||
progressView_->SetVisibility(UI::V_INVISIBLE);
|
||||
progressView_->SetVisibility(UI::V_GONE);
|
||||
} else {
|
||||
progressView_->SetText(n->T("Invalid IP or hostname"));
|
||||
progressView_->SetTextColor(0xFF3030FF);
|
||||
|
||||
Reference in new issue
Block a user