mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-19 21:37:57 +08:00
Latest public/internal sync.
This commit is contained in:
parent
3d142dbd47
commit
55841a7431
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user