Add a 'Copy' button to the fax UI (#22027)
* Add a 'Copy' button to the fax UI * Add ValidatePrototypeId attribute Co-authored-by: Kara <lunarautomaton6@gmail.com> --------- Co-authored-by: Kara <lunarautomaton6@gmail.com>
This commit is contained in:
@@ -16,10 +16,12 @@ public sealed class FaxUiState : BoundUserInterfaceState
|
||||
public string? DestinationAddress { get; }
|
||||
public bool IsPaperInserted { get; }
|
||||
public bool CanSend { get; }
|
||||
public bool CanCopy { get; }
|
||||
|
||||
public FaxUiState(string deviceName,
|
||||
Dictionary<string, string> peers,
|
||||
bool canSend,
|
||||
bool canCopy,
|
||||
bool isPaperInserted,
|
||||
string? destAddress)
|
||||
{
|
||||
@@ -27,10 +29,16 @@ public sealed class FaxUiState : BoundUserInterfaceState
|
||||
AvailablePeers = peers;
|
||||
IsPaperInserted = isPaperInserted;
|
||||
CanSend = canSend;
|
||||
CanCopy = canCopy;
|
||||
DestinationAddress = destAddress;
|
||||
}
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class FaxCopyMessage : BoundUserInterfaceMessage
|
||||
{
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class FaxSendMessage : BoundUserInterfaceMessage
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user