fixed spacing and added todo

This commit is contained in:
2026-04-27 14:32:40 -04:00
parent 5b10afcec2
commit 6a650a282b
2 changed files with 7 additions and 7 deletions

View File

@@ -33,8 +33,12 @@ public partial class MainPage : ContentPage
}
hybridWebView.SetInvokeJavaScriptTarget(this);
// hybridWebView.SetInvokeJavaScriptTarget(new RtcBridgeService());
//TODO: Need to not have parameters in constructor, protected flags on vars instead of private should make everything accessible
ServerAPI.setupClient();
_socket = new RelaySocketClient(_username);
_rtc = new RtcBridgeService(
_username,

View File

@@ -13,12 +13,8 @@ public sealed class RtcBridgeService
private readonly Func<string?> _getCurrentChannelId;
private readonly Action<string> _sendRawToWebView;
public RtcBridgeService(
string username,
RelaySocketClient socket,
HybridWebView hybridWebView,
Func<string?> getCurrentChannelId,
Action<string> sendRawToWebView)
public RtcBridgeService(string username, RelaySocketClient socket, HybridWebView hybridWebView,
Func<string?> getCurrentChannelId, Action<string> sendRawToWebView)
{
_username = username;
_socket = socket;