mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-08 16:53:49 +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()
|
self._update_party_rows()
|
||||||
|
|
||||||
def _update_party_rows(self) -> None:
|
def _update_party_rows(self) -> None:
|
||||||
|
|
||||||
plus = bui.app.plus
|
plus = bui.app.plus
|
||||||
assert plus is not None
|
assert plus is not None
|
||||||
|
|
||||||
@ -980,10 +979,7 @@ class PublicGatherTab(GatherTab):
|
|||||||
edit=self._host_scrollwidget,
|
edit=self._host_scrollwidget,
|
||||||
claims_up_down=(len(self._parties_displayed) > 0),
|
claims_up_down=(len(self._parties_displayed) > 0),
|
||||||
)
|
)
|
||||||
bui.textwidget(
|
bui.textwidget(edit=self._no_servers_text, text='')
|
||||||
edit=self._no_servers_text,
|
|
||||||
text=''
|
|
||||||
)
|
|
||||||
|
|
||||||
# Clip if we have more UI rows than parties to show.
|
# Clip if we have more UI rows than parties to show.
|
||||||
clipcount = len(self._ui_rows) - len(self._parties_displayed)
|
clipcount = len(self._ui_rows) - len(self._parties_displayed)
|
||||||
@ -1000,7 +996,7 @@ class PublicGatherTab(GatherTab):
|
|||||||
):
|
):
|
||||||
bui.textwidget(
|
bui.textwidget(
|
||||||
edit=self._no_servers_text,
|
edit=self._no_servers_text,
|
||||||
text=bui.Lstr(resource='noServerFoundText')
|
text=bui.Lstr(resource='noServerFoundText'),
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user