updateSubtitle method

void updateSubtitle(
  1. String newSubtitle
)

Updates the subtitle/message text

Implementation

void updateSubtitle(String newSubtitle) {
  subtitle.value = newSubtitle;
}