Skip to content

Commit 080f5b1

Browse files
committed
fix(samples): correct selection text color property name in IconFontCellRenderer
Update the property reference to SelectionTextColor to ensure the correct style is applied when a cell is selected.
1 parent e9d626c commit 080f5b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

samples/SampleApp.Maui/CustomFontsPage.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ public void Render(
253253
if (string.IsNullOrEmpty(displayText))
254254
return;
255255

256-
var textColor = isSelected ? style.SelectedTextColor : style.CellTextColor;
256+
var textColor = isSelected ? style.SelectionTextColor : style.CellTextColor;
257257
var paint = new GridPaint
258258
{
259259
Color = textColor,

0 commit comments

Comments
 (0)