private void Button_Clicked(object sender, EventArgs e)
        {
            var notatka = new Notatki()
            {
                TextNote = editor.Text,
                Data     = DateTime.Today.ToString("d")
            };

            _connection.InsertAsync(notatka);
            Navigation.PopAsync();
        }
 public AddNote(Notatki notatka)
     : this()
 {
     editor.Text            = notatka.TextNote;
     editor.BackgroundColor = Color.White;
 }