Skip to content

Commit 77d8afe

Browse files
committed
refactor: reduce the times to call RefreshLayout
Signed-off-by: leo <[email protected]>
1 parent 0476a82 commit 77d8afe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Views/Histories.axaml.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,8 @@ public bool UseHorizontal
2222

2323
protected override Type StyleKeyOverride => typeof(Grid);
2424

25-
public override void ApplyTemplate()
25+
public HistoriesLayout()
2626
{
27-
base.ApplyTemplate();
2827
RefreshLayout();
2928
}
3029

0 commit comments

Comments
 (0)