Skip to content

Instantly share code, notes, and snippets.

@tomwis
Last active August 17, 2017 17:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomwis/7f5343574af0a1d4ecb3dce798f150d2 to your computer and use it in GitHub Desktop.
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