singleAcceptsPdf static method

bool singleAcceptsPdf()

Whether singles in this app accept PDF files (books/articles) vs audio files (songs/meditations).

Implementation

static bool singleAcceptsPdf() {
  switch (AppConfig.instance.appInUse) {
    case AppInUse.e: // EMXI — books, articles
    case AppInUse.c: // Cyberneom — research, articles
      return true;
    default:
      return false; // Gigmeout, others — audio singles
  }
}