File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
src/DevTKSS.Uno.Samples.MvuxGallery/Presentation Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -57,15 +57,15 @@ public ListboardModel(
5757 /// </remarks>
5858 public IListFeed < string > CodeSampleOptions => ListFeed < string >
5959 . Async ( _codeSampleService . GetCodeSampleOptionsAsync )
60- . Selection ( SelectedSampleOption ) ;
60+ . Selection ( SelectedOption ) ;
6161
6262 /// <summary>
6363 /// Represents the selected code sample option.
6464 /// </summary>
6565 /// <remarks>
6666 /// Uses <see cref="string.Empty"/> as the default value to avoid null checks in the XAML.
6767 /// </remarks>
68- public IState < string > SelectedSampleOption => State < string >
68+ public IState < string > SelectedOption => State < string >
6969 . Value ( this , ( ) => string . Empty )
7070 . ForEach ( SwitchCodeSampleAsync ) ;
7171
@@ -90,9 +90,9 @@ public ListboardModel(
9090 /// }
9191 /// </code>
9292 /// </example>
93- public async ValueTask SwitchCodeSampleAsync ( string ? selectedSampleOption , CancellationToken ct = default )
93+ public async ValueTask SwitchCodeSampleAsync ( string ? selectedOption , CancellationToken ct = default )
9494 {
95- string sample = await _codeSampleService . GetCodeSampleAsync ( selectedSampleOption ?? string . Empty ) ;
95+ string sample = await _codeSampleService . GetCodeSampleAsync ( selectedOption ?? string . Empty ) ;
9696 await CurrentCodeSample . SetAsync ( sample , ct ) ;
9797 }
9898 #endregion
Original file line number Diff line number Diff line change 1818 <Grid .RowDefinitions>
1919 <RowDefinition Height =" Auto" />
2020 <RowDefinition Height =" *" />
21- <RowDefinition Height =" Auto"
22- MaxHeight =" 300" />
21+ <RowDefinition Height =" Auto" />
2322 </Grid .RowDefinitions>
2423
2524 <TextBlock Grid.Row=" 0"
You can’t perform that action at this time.
0 commit comments