~aleteoryx/muditaos

55da243efb68d6d3584e26f343efea77d7d8258f — tomaszkrosnowski 4 years ago 3dd7ac4
[EGD-7913] Fix offline info for message and call

Fixed info text when trying to send message or make a call.
M image/assets/lang/English.json => image/assets/lang/English.json +2 -2
@@ 284,8 284,8 @@
  "app_call_speaker_on": "SPEAKER ON",
  "app_call_bluetooth": "BLUETOOTH",
  "app_call_no_sim": "No SIM.\n\nTo make a call,\nplease insert a SIM card.",
  "app_call_offline": "You're offline.\n\nTo make a call\n switch to the Connected mode.",
  "app_sms_offline": "You're offline.\n\nTo send a SMS\n switch to the Connected mode.",
  "app_call_offline": "You're Offline.\n\nTo make a call,\n switch the mode.",
  "app_sms_offline": "You're Offline.\n\nTo send message,\n switch the mode.",
  "app_call_emergency_text": "Emergency call",
  "app_call_wrong_emergency": "Can't make a call.\n$NUMBER is not an emergency number.",
  "app_messages_title_main": "Messages",

M module-apps/application-music-player/windows/MusicPlayerMainWindow.cpp => module-apps/application-music-player/windows/MusicPlayerMainWindow.cpp +2 -2
@@ 343,7 343,7 @@ namespace gui
        descriptionText->setAlignment(Alignment(Alignment::Horizontal::Left, Alignment::Vertical::Center));
        descriptionText->setTextType(TextType::SingleLine);
        descriptionText->setEditMode(EditMode::Browse);
        descriptionText->setFont(style::window::font::verysmall);
        descriptionText->setFont(style::window::font::small);
    }

    void MusicPlayerMainWindow::destroyInterface()


@@ 519,7 519,7 @@ namespace gui
        }

        auto secsToStr = [&](int secs) {
            if (secs < 3600) {
            if (secs < utils::time::secondsInHour) {
                snprintf(timeToDisplay,
                         maxTimeToDisplaySize,
                         "%d:%02d",