Skip to content

Commit f4f5830

Browse files
committed
Default all screenshots to .jpg due to Discord size limit. Put mask box behind dev mode.
1 parent b3db10e commit f4f5830

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

SerialPrograms/Source/CommonFramework/Notifications/EventNotificationOption.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ EventNotificationOption::EventNotificationOption(
226226
add_option(m_data->m_enabled, "Enabled");
227227
add_option(m_data->m_label, "");
228228
add_option(m_data->m_ping, "Ping");
229-
add_option(m_data->m_screenshot, "Screenshot");
229+
add_option(m_data->m_screenshot, "Screenshot0");
230230
add_option(m_data->m_tags, "Tags");
231231
add_option(m_data->m_rate_limit_seconds, "RateLimitSeconds");
232232
add_option(m_test_button, "");

SerialPrograms/Source/NintendoSwitch/Framework/UI/NintendoSwitch_CommandRow.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,11 @@ CommandRow::CommandRow(
7474
m_overlay_text->setChecked(session.enabled_text());
7575
row->addWidget(m_overlay_text);
7676

77-
m_overlay_images = new QCheckBox("Masks", this);
78-
m_overlay_images->setChecked(session.enabled_images());
79-
row->addWidget(m_overlay_images);
80-
77+
if (PreloadSettings::instance().DEVELOPER_MODE){
78+
m_overlay_images = new QCheckBox("Masks", this);
79+
m_overlay_images->setChecked(session.enabled_images());
80+
row->addWidget(m_overlay_images);
81+
}
8182

8283
m_overlay_log = new QCheckBox("Log", this);
8384
m_overlay_log->setChecked(session.enabled_log());

SerialPrograms/Source/NintendoSwitch/NintendoSwitch_SingleSwitchProgram.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,14 @@ SingleSwitchProgramInstance::SingleSwitchProgramInstance(
5959
, NOTIFICATION_ERROR_RECOVERABLE(
6060
"Program Error (Recoverable)",
6161
true, false,
62-
ImageAttachmentMode::PNG,
62+
ImageAttachmentMode::JPG,
6363
error_notification_tags
6464

6565
)
6666
, NOTIFICATION_ERROR_FATAL(
6767
"Program Error (Fatal)",
6868
true, true,
69-
ImageAttachmentMode::PNG,
69+
ImageAttachmentMode::JPG,
7070
error_notification_tags
7171
)
7272
{}

0 commit comments

Comments
 (0)