11using System . Windows . Input ;
2+ using CommunityToolkit . Mvvm . Input ;
23using TransactionProcessor . Mobile . BusinessLogic . ViewModels . Support ;
34using TransactionProcessor . Mobile . Pages . Common ;
45
@@ -21,7 +22,8 @@ protected override void OnAppearing() {
2122 private void LoadSupportOptions ( SupportPageViewModel viewModel ) {
2223 this . SupportOptionsList . Children . Clear ( ) ;
2324
24- var options = new List < ( String Title , String Icon , String AutomationId , ICommand Command ) >
25+ var options = new List < ( String Title , String Icon , String AutomationId , IRelayCommand Command ) >
26+
2527 {
2628 ( "Upload Logs" , "supportbutton.svg" , "UploadLogsButton" , viewModel . UploadLogsCommand ) ,
2729 ( "View Logs" , "reportbutton.svg" , "ViewLogsButton" , viewModel . ViewLogsCommand ) ,
@@ -33,7 +35,7 @@ private void LoadSupportOptions(SupportPageViewModel viewModel) {
3335 }
3436 }
3537
36- private Frame CreateSupportTile ( String title , String iconSource , String automationId , ICommand command ) {
38+ private Frame CreateSupportTile ( String title , String iconSource , String automationId , IRelayCommand command ) {
3739 Frame tile = new Frame ( ) ;
3840 tile . SetDynamicResource ( VisualElement . StyleProperty , "SelectionTileFrame" ) ;
3941 tile . AutomationId = automationId ;
0 commit comments