Skip to content

Commit

Permalink
untroll, fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Toby222 committed Jan 25, 2025
1 parent 22625a7 commit 82b073c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@ public sealed partial class NanoChatLookupUiFragment : BoxContainer
{
public NanoChatLookupUiFragment()
{
IoCManager.InjectDependencies(this);
RobustXamlLoader.Load(this);
}


public void UpdateState(NanoChatLookupUiState state)
{
UpdateContactList(state.Contacts);
Expand Down Expand Up @@ -48,7 +46,6 @@ public void UpdateContactList(List<NanoChatRecipient>? contacts)
HorizontalAlignment = HAlignment.Right,
};


var panel = new PanelContainer()
{
HorizontalExpand = true,
Expand All @@ -57,7 +54,7 @@ public void UpdateContactList(List<NanoChatRecipient>? contacts)
panel.AddChild(nameLabel);
panel.AddChild(numberLabel);

string styleClass = idx % 2 == 0 ? "PanelBackgroundBaseDark" : "PanelBackgroundLight";
var styleClass = idx % 2 == 0 ? "PanelBackgroundBaseDark" : "PanelBackgroundLight";
panel.StyleClasses.Add(styleClass);

ContactsList.AddChild(panel);
Expand Down
1 change: 1 addition & 0 deletions Resources/Prototypes/Entities/Objects/Devices/pda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,7 @@
- type: PdaBorderColor
borderColor: "#333333"
- type: Icon
state: pda-bartender

- type: entity
parent: BasePDA
Expand Down

0 comments on commit 82b073c

Please sign in to comment.