| | 1 | | using SocialFeaturesAnalytics; |
| | 2 | | using UnityEngine; |
| | 3 | |
|
| | 4 | | namespace DCL.Social.Friends |
| | 5 | | { |
| | 6 | | public class CancelFriendRequestHUDPlugin : IPlugin |
| | 7 | | { |
| | 8 | | private readonly CancelFriendRequestHUDController controller; |
| | 9 | |
|
| 0 | 10 | | public CancelFriendRequestHUDPlugin() |
| | 11 | | { |
| 0 | 12 | | var userProfileBridge = new UserProfileWebInterfaceBridge(); |
| 0 | 13 | | controller = new CancelFriendRequestHUDController(CancelFriendRequestHUDComponentView.Create(), |
| | 14 | | DataStore.i, userProfileBridge, FriendsController.i, |
| | 15 | | new SocialAnalytics(Environment.i.platform.serviceProviders.analytics, userProfileBridge), |
| | 16 | | Resources.Load<StringVariable>("CurrentPlayerInfoCardId")); |
| 0 | 17 | | } |
| | 18 | |
|
| | 19 | | public void Dispose() |
| | 20 | | { |
| 0 | 21 | | controller.Dispose(); |
| 0 | 22 | | } |
| | 23 | | } |
| | 24 | | } |