@@ -31,9 +31,6 @@ public class MicrophoneMuteBannerManager
31
31
private static System . Threading . SynchronizationContext _syncContext ;
32
32
private readonly Dictionary < string , BannerForm > _activeBanners = new ( ) ;
33
33
private const int SPACING = 10 ;
34
-
35
- // Remove the local position factory and accessor
36
- private IPosition BannerPosition => AppModel . Instance . BannerPositionImpl ;
37
34
38
35
/// <summary>
39
36
/// Updates or creates a banner when a microphone's mute state changes
@@ -72,7 +69,7 @@ private void ShowMuteBanner(string microphoneId, string microphoneName)
72
69
Image = Resources . MicrophoneOff ,
73
70
Text = microphoneName ,
74
71
Title = SettingsStrings . microphone_off ,
75
- Position = BannerPosition ,
72
+ Position = AppModel . Instance . BannerPositionImpl ,
76
73
Ttl = TimeSpan . MaxValue , // Effectively "infinite" until explicitly dismissed
77
74
CompactMode = true ,
78
75
OnClick = ( sender , args ) => AppModel . Instance . SetMicrophoneMuteState ( microphoneId , false )
@@ -108,7 +105,7 @@ private void ShowTempUnmuteNotification(string microphoneId, string microphoneNa
108
105
Image = Resources . MicrophoneOn ,
109
106
Text = microphoneName ,
110
107
Title = SettingsStrings . microphone_on ,
111
- Position = BannerPosition ,
108
+ Position = AppModel . Instance . BannerPositionImpl ,
112
109
Ttl = TimeSpan . FromSeconds ( 3 ) ,
113
110
CompactMode = true
114
111
} ;
0 commit comments