Сообщения в ПДА (#564)
* add: Сообщения в ПДА * Search bar and colors in messages on the PDA
This commit is contained in:
@@ -26,13 +26,13 @@ namespace Content.Client.PDA
|
||||
public const int ProgramContentView = 3;
|
||||
|
||||
|
||||
private string _pdaOwner = Loc.GetString("comp-pda-ui-unknown");
|
||||
private string _pdaOwnerName = Loc.GetString("comp-pda-ui-unknown");
|
||||
private string _owner = Loc.GetString("comp-pda-ui-unknown");
|
||||
private string _jobTitle = Loc.GetString("comp-pda-ui-unassigned");
|
||||
private string _stationName = Loc.GetString("comp-pda-ui-unknown");
|
||||
private string _alertLevel = Loc.GetString("comp-pda-ui-unknown");
|
||||
private string _instructions = Loc.GetString("comp-pda-ui-unknown");
|
||||
|
||||
|
||||
|
||||
private int _currentView;
|
||||
|
||||
@@ -96,7 +96,7 @@ namespace Content.Client.PDA
|
||||
|
||||
PdaOwnerButton.OnPressed += _ =>
|
||||
{
|
||||
_clipboard.SetText(_pdaOwner);
|
||||
_clipboard.SetText(_pdaOwnerName);
|
||||
};
|
||||
|
||||
IdInfoButton.OnPressed += _ =>
|
||||
@@ -125,7 +125,7 @@ namespace Content.Client.PDA
|
||||
_clipboard.SetText(_instructions);
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
HideAllViews();
|
||||
@@ -138,9 +138,9 @@ namespace Content.Client.PDA
|
||||
|
||||
if (state.PdaOwnerInfo.ActualOwnerName != null)
|
||||
{
|
||||
_pdaOwner = state.PdaOwnerInfo.ActualOwnerName;
|
||||
_pdaOwnerName = state.PdaOwnerInfo.ActualOwnerName;
|
||||
PdaOwnerLabel.SetMarkup(Loc.GetString("comp-pda-ui-owner",
|
||||
("actualOwnerName", _pdaOwner)));
|
||||
("actualOwnerName", _pdaOwnerName)));
|
||||
}
|
||||
|
||||
|
||||
@@ -160,7 +160,7 @@ namespace Content.Client.PDA
|
||||
_stationName = state.StationName ?? Loc.GetString("comp-pda-ui-unknown");
|
||||
StationNameLabel.SetMarkup(Loc.GetString("comp-pda-ui-station",
|
||||
("station", _stationName)));
|
||||
|
||||
|
||||
|
||||
var stationTime = _gameTiming.CurTime.Subtract(_gameTicker.RoundStartTimeSpan);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user