Skip to content

Commit dcc4864

Browse files
committed
remove useless style def, mage PAGE_SIZE cost
1 parent d5f38de commit dcc4864

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Signal-Windows/Controls/Conversation.xaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@
4242
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
4343
</Style>
4444
</ListView.ItemContainerStyle>
45-
<ListView.Style>
46-
<Style TargetType="ListView" />
47-
</ListView.Style>
4845
</ListView>
4946
<Grid Grid.Row="2" BorderBrush="{ThemeResource TextBoxBorderThemeBrush}" BorderThickness="0,1,0,0">
5047
<Grid.ColumnDefinitions>

Signal-Windows/Controls/VirtualizedMessagesCollection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class SignalUnreadMarker
3030

3131
public class VirtualizedCollection : IList, INotifyCollectionChanged
3232
{
33-
private readonly static int PAGE_SIZE = 50;
33+
private const int PAGE_SIZE = 50;
3434
public event NotifyCollectionChangedEventHandler CollectionChanged;
3535
private Dictionary<int, IList<SignalMessageContainer>> Cache = new Dictionary<int, IList<SignalMessageContainer>>();
3636
private SignalConversation Conversation;

0 commit comments

Comments
 (0)