refactor: reduce the times to call RefreshLayout

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-03-12 15:10:43 +08:00
parent 0476a825ef
commit 77d8afe056
No known key found for this signature in database

View file

@ -22,9 +22,8 @@ namespace SourceGit.Views
protected override Type StyleKeyOverride => typeof(Grid); protected override Type StyleKeyOverride => typeof(Grid);
public override void ApplyTemplate() public HistoriesLayout()
{ {
base.ApplyTemplate();
RefreshLayout(); RefreshLayout();
} }