File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ private void UpdateColor()
88
88
private async Task DelayedPost ( int milliseconds , Action action )
89
89
{
90
90
await Task . Delay ( milliseconds ) ;
91
- Device . BeginInvokeOnMainThread ( action ) ;
91
+ MainThread . BeginInvokeOnMainThread ( action ) ;
92
92
}
93
93
}
94
94
}
Original file line number Diff line number Diff line change 1
1
using System . ComponentModel ;
2
- using Microsoft . Maui . Controls . Compatibility . Platform . iOS ;
3
2
using Microsoft . Maui . Controls . Platform ;
3
+ using Microsoft . Maui . Platform ;
4
4
using ObjCRuntime ;
5
5
using Sharpnado . Tabs . Effects . iOS . GestureCollectors ;
6
6
using Sharpnado . Tabs . Effects . iOS . GestureRecognizers ;
@@ -80,7 +80,7 @@ void UpdateEffectColor() {
80
80
81
81
InternalLogger . Debug ( $ "UpdateEffectColor") ;
82
82
_alpha = color . Alpha < 1.0 ? 1 : ( float ) 0.3 ;
83
- _layer . BackgroundColor = color . ToUIColor ( ) ;
83
+ _layer . BackgroundColor = color . ToPlatform ( ) ;
84
84
}
85
85
86
86
void BringLayer ( ) {
You can’t perform that action at this time.
0 commit comments