Latest public/internal sync.

This commit is contained in:
Eric 2023-10-27 09:29:16 -07:00
parent 3d142dbd47
commit 55841a7431
No known key found for this signature in database
GPG Key ID: 89C93F0F8D6D5A98

View File

@ -963,7 +963,6 @@ class PublicGatherTab(GatherTab):
self._update_party_rows()
def _update_party_rows(self) -> None:
plus = bui.app.plus
assert plus is not None
@ -980,10 +979,7 @@ class PublicGatherTab(GatherTab):
edit=self._host_scrollwidget,
claims_up_down=(len(self._parties_displayed) > 0),
)
bui.textwidget(
edit=self._no_servers_text,
text=''
)
bui.textwidget(edit=self._no_servers_text, text='')
# Clip if we have more UI rows than parties to show.
clipcount = len(self._ui_rows) - len(self._parties_displayed)
@ -997,10 +993,10 @@ class PublicGatherTab(GatherTab):
if (
plus.get_v1_account_state() == 'signed_in'
and cast(str, bui.textwidget(query=text)) == ''
):
):
bui.textwidget(
edit=self._no_servers_text,
text=bui.Lstr(resource='noServerFoundText')
text=bui.Lstr(resource='noServerFoundText'),
)
return