Skip to content

Instantly share code, notes, and snippets.

@tomwis
Last active August 17, 2017 17:21
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save tomwis/7f5343574af0a1d4ecb3dce798f150d2 to your computer and use it in GitHub Desktop.
public Command SaveCmd => new Command(async () =>
{
if (/* Ten miesiąc już istnieje? */)
{
await CoreMethods.DisplayAlert("", AppResources.MothAlreadyExistsMessage, AppResources.Ok); // Powiedzmy użytkownikowi, że ten miesiąc dodał już wczesniej
}
else
{
// Zapisz miesiąc
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment