mirror of
https://github.com/jwetzell/qController.git
synced 2026-08-18 05:34:16 +00:00
initial working maui migration with android only
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using Acr.UserDialogs;
|
||||
using Microsoft.Maui.ApplicationModel;
|
||||
|
||||
namespace qController.Dialogs
|
||||
{
|
||||
public class DonatePrompt : ConfirmConfig
|
||||
{
|
||||
public DonatePrompt()
|
||||
{
|
||||
|
||||
Title = "Support the Project";
|
||||
Message = "This application will never be a paid app or contain any sort of ads, but if you choose to show your support you may do so by clicking the Donate button below. Thank you!";
|
||||
OkText = "Donate";
|
||||
OnAction = (response) =>
|
||||
{
|
||||
if (response)
|
||||
Launcher.OpenAsync(new Uri("https://linktr.ee/JoelWetzell"));
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user