Files
MuditaOS/module-apps/application-notes/data/NotesFoundData.cpp
Adam Dobrowolski 56344b0579 [EGD-6680] Notes crash fix on search
Changed query for all matches to query with limit
2021-05-05 18:13:35 +02:00

17 lines
484 B
C++

// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#include "NotesFoundData.hpp"
namespace app::notes
{
NotesFoundData::NotesFoundData(std::string searchText)
: gui::SwitchData(std::string{"NotesFoundData"}), searchText{std::move(searchText)}
{}
const std::string &NotesFoundData::getSearchText() const noexcept
{
return searchText;
}
} // namespace app::notes