| | 1 | | using DCL.Browser; |
| | 2 | |
|
| | 3 | | namespace DCL.Guests.HUD.ConnectWallet |
| | 4 | | { |
| | 5 | | /// <summary> |
| | 6 | | /// Plugin feature that initialize the Connect Wallet Modal feature. |
| | 7 | | /// </summary> |
| | 8 | | public class ConnectWalletModalPlugin : IPlugin |
| | 9 | | { |
| | 10 | | private readonly ConnectWalletComponentController joinChannelComponentController; |
| | 11 | |
|
| 0 | 12 | | public ConnectWalletModalPlugin() |
| | 13 | | { |
| 0 | 14 | | joinChannelComponentController = new ConnectWalletComponentController( |
| | 15 | | ConnectWalletComponentView.Create(), |
| | 16 | | new WebInterfaceBrowserBridge(), |
| | 17 | | new UserProfileWebInterfaceBridge(), |
| | 18 | | DataStore.i); |
| 0 | 19 | | } |
| | 20 | |
|
| 0 | 21 | | public void Dispose() { joinChannelComponentController.Dispose(); } |
| | 22 | | } |
| | 23 | | } |