We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2704e77 commit 22519edCopy full SHA for 22519ed
Signal-Windows/Controls/Conversation.xaml.cs
@@ -117,6 +117,17 @@ public Conversation()
117
Separator.Foreground = Utils.ForegroundIncoming;
118
Username.Foreground = Utils.ForegroundIncoming;
119
SendButtonEnabled = false;
120
+ Loaded += Conversation_Loaded;
121
+ Unloaded += Conversation_Unloaded;
122
+ }
123
+
124
+ private void Conversation_Unloaded(object sender, RoutedEventArgs e)
125
+ {
126
+ Window.Current.Activated -= HandleWindowActivated;
127
128
129
+ private void Conversation_Loaded(object sender, RoutedEventArgs e)
130
131
Window.Current.Activated += HandleWindowActivated;
132
}
133
0 commit comments