diff --git a/library/src/configuration.cpp b/library/src/configuration.cpp index 79638fb..80060e6 100644 --- a/library/src/configuration.cpp +++ b/library/src/configuration.cpp @@ -1196,7 +1196,7 @@ std::optional Configuration::prepaidStart(QDateTime const &start, int if (prepaid_option.has_value()) { ATBPrepaid prepaid = prepaid_option.value(); - if (prepaid.anytime == false && prepaid.never == false) { + if (prepaid.never == false) { // start: 22:00, end: 08:00 QTime prepaidStart = TariffPrepaidOptions.find(prepaid_option_id)->second.static_start; QTime prepaidEnd = TariffPrepaidOptions.find(prepaid_option_id)->second.static_end;