Move More Dialog Configs to their own file

This commit is contained in:
2020-06-06 13:03:58 -05:00
parent 90fdec8d46
commit 552114de58
5 changed files with 73 additions and 51 deletions
@@ -0,0 +1,22 @@
using System;
using Acr.UserDialogs;
using Xamarin.Essentials;
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"));
};
}
}
}