Fix typos of 'transceiver' (#2910)

This commit is contained in:
Harin Lee
2026-01-08 18:34:05 +09:00
committed by GitHub
parent 93799bde6d
commit e4ab7227fc
3 changed files with 10 additions and 10 deletions
+3 -3
View File
@@ -4297,7 +4297,7 @@ static constexpr Bitmap bitmap_icon_tpms{
{16, 16}, {16, 16},
bitmap_icon_tpms_data}; bitmap_icon_tpms_data};
static constexpr uint8_t bitmap_icon_tranceivers_data[] = { static constexpr uint8_t bitmap_icon_transceivers_data[] = {
0x80, 0x80,
0x01, 0x01,
0xC0, 0xC0,
@@ -4331,9 +4331,9 @@ static constexpr uint8_t bitmap_icon_tranceivers_data[] = {
0xFF, 0xFF,
0xFF, 0xFF,
}; };
static constexpr Bitmap bitmap_icon_tranceivers{ static constexpr Bitmap bitmap_icon_transceivers{
{16, 16}, {16, 16},
bitmap_icon_tranceivers_data}; bitmap_icon_transceivers_data};
static constexpr uint8_t bitmap_icon_transmit_data[] = { static constexpr uint8_t bitmap_icon_transmit_data[] = {
0x80, 0x80,
+4 -4
View File
@@ -114,7 +114,7 @@ const NavigationView::AppList NavigationView::appList = {
/* HOME ******************************************************************/ /* HOME ******************************************************************/
{nullptr, "Receive", HOME, Color::cyan(), &bitmap_icon_receivers, new ViewFactory<ReceiversMenuView>()}, {nullptr, "Receive", HOME, Color::cyan(), &bitmap_icon_receivers, new ViewFactory<ReceiversMenuView>()},
{nullptr, "Transmit", HOME, Color::cyan(), &bitmap_icon_transmit, new ViewFactory<TransmittersMenuView>()}, {nullptr, "Transmit", HOME, Color::cyan(), &bitmap_icon_transmit, new ViewFactory<TransmittersMenuView>()},
{nullptr, "Tranceiver", HOME, Color::cyan(), &bitmap_icon_tranceivers, new ViewFactory<TranceiversMenuView>()}, {nullptr, "Transceiver", HOME, Color::cyan(), &bitmap_icon_transceivers, new ViewFactory<TransceiversMenuView>()},
{"recon", "Recon", HOME, Color::green(), &bitmap_icon_scanner, new ViewFactory<ReconView>()}, {"recon", "Recon", HOME, Color::green(), &bitmap_icon_scanner, new ViewFactory<ReconView>()},
{"capture", "Capture", HOME, Color::red(), &bitmap_icon_capture, new ViewFactory<CaptureAppView>()}, {"capture", "Capture", HOME, Color::red(), &bitmap_icon_capture, new ViewFactory<CaptureAppView>()},
{"replay", "Replay", HOME, Color::green(), &bitmap_icon_replay, new ViewFactory<PlaylistView>()}, {"replay", "Replay", HOME, Color::green(), &bitmap_icon_replay, new ViewFactory<PlaylistView>()},
@@ -845,12 +845,12 @@ void TransmittersMenuView::on_populate() {
add_external_items(nav_, app_location_t::TX, *this, return_icon ? 1 : 0); add_external_items(nav_, app_location_t::TX, *this, return_icon ? 1 : 0);
} }
/* TranceiversMenuView **************************************************/ /* TransceiversMenuView **************************************************/
TranceiversMenuView::TranceiversMenuView(NavigationView& nav) TransceiversMenuView::TransceiversMenuView(NavigationView& nav)
: nav_(nav) {} : nav_(nav) {}
void TranceiversMenuView::on_populate() { void TransceiversMenuView::on_populate() {
bool return_icon = pmem::show_gui_return_icon(); bool return_icon = pmem::show_gui_return_icon();
if (return_icon) { if (return_icon) {
add_items({{"..", Theme::getInstance()->fg_light->foreground, &bitmap_icon_previous, [this]() { nav_.pop(); }}}); add_items({{"..", Theme::getInstance()->fg_light->foreground, &bitmap_icon_previous, [this]() { nav_.pop(); }}});
+3 -3
View File
@@ -389,10 +389,10 @@ class TransmittersMenuView : public BtnGridView {
void on_populate() override; void on_populate() override;
}; };
class TranceiversMenuView : public BtnGridView { class TransceiversMenuView : public BtnGridView {
public: public:
TranceiversMenuView(NavigationView& nav); TransceiversMenuView(NavigationView& nav);
std::string title() const override { return "Tranceiver"; }; std::string title() const override { return "Transceiver"; };
private: private:
NavigationView& nav_; NavigationView& nav_;