Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,10 @@ public class SliderViewModel : INotifyPropertyChanged
private double _minimum = 0;
private double _maximum = 1;
private double _value = 0;
#if ANDROID // // Set all color properties to null for Windows as default values, and define platform-specific colors for Android, iOS, and Mac Catalyst.
private Color _thumbColor = Color.FromRgba(1,122,255,255);
private Color _minTrackColor = Color.FromRgba(1,122,255,255) ;
private Color _maxTrackColor = Color.FromRgba(227,227,229,255);
private Color _backgroundColor = Colors.Transparent ;
#elif IOS || MACCATALYST
private Color _thumbColor = Color.FromRgba(255, 255, 255, 255);
private Color _minTrackColor = Color.FromRgba(1, 122, 255, 255);
private Color _maxTrackColor = Color.FromRgba(227, 227, 229, 255);
private Color _backgroundColor = Colors.Transparent;
#else
private Color _thumbColor = null;
private Color _minTrackColor = null;
private Color _maxTrackColor = null;
private Color _backgroundColor = null;
#endif
private Color _thumbColor;
private Color _minTrackColor;
private Color _maxTrackColor;
private Color _backgroundColor;
private FlowDirection _flowDirection = FlowDirection.LeftToRight;
private bool _isEnabled = true;
private bool _isVisible = true;
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ public void IsEnabledDisablesEntireViewAndPreventsChildInteraction()
}

#if TEST_FAILS_ON_CATALYST // App.ScrollUp does nothing: https://github.com/dotnet/maui/issues/31216

#if TEST_FAILS_ON_WINDOWS //Flaky test, disabling for Windows.

[Test]
public void PullToRefreshWorksWhenEnabled()
{
Expand All @@ -127,7 +130,7 @@ public void PullToRefreshWorksWhenEnabled()
// Wait for refresh to complete and verify it worked
Assert.That(App.WaitForTextToBePresentInElement(StatusLabel, "Refresh completed", timeout: TimeSpan.FromSeconds(5)), Is.True);
}

#endif
[Test]
public void PullToRefreshBlockedWhenIsRefreshEnabledFalse()
{
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.