Skip to content

Commit 0fbc819

Browse files
busy indicator updated for offline data
1 parent 18c2eec commit 0fbc819

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

ChartGeneratorAISample/ChartGenerator/View/DesktopUI.xaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
>
4747
</Editor>
4848

49-
<core:SfBusyIndicator IsVisible="{Binding IsLoading}"
50-
IsRunning="True"
49+
<core:SfBusyIndicator IsRunning="{Binding IsLoading}"
50+
IsVisible="{Binding IsLoading}"
5151
AnimationType="SingleCircle"
5252
/>
5353
</Grid>

ChartGeneratorAISample/ChartGenerator/ViewModel/ChartViewModel.cs

+1
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ private async void OnCreateButtonClicked()
177177
}
178178
else
179179
{
180+
await Task.Delay(500);
180181
CreateOfflineChart(EntryText);
181182
AssistItem message = new() { Text = "Currently in offline mode...", ShowAssistItemFooter = false };
182183
Messages.Add(message);

0 commit comments

Comments
 (0)