Skip to content

Commit 4a9bde4

Browse files
:|
1 parent 0ce115a commit 4a9bde4

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

TransactionProcessor.Mobile/Pages/Support/SupportPage.xaml.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System.Windows.Input;
2+
using CommunityToolkit.Mvvm.Input;
23
using TransactionProcessor.Mobile.BusinessLogic.ViewModels.Support;
34
using 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

Comments
 (0)