Route preference reads through adapter
This commit is contained in:
@@ -625,7 +625,7 @@ void App::dialog_whatsnew(bool force_show)
|
||||
whatsnew->load_url(url, [this, whatsnew, force_show](bool success) {
|
||||
if (success)
|
||||
{
|
||||
int last_id = Settings::value_or<Serializer::Integer>("whatsnew-id", 0);
|
||||
int last_id = pp::panopainter::legacy_integer_preference_or("whatsnew-id", 0);
|
||||
if (force_show || (whatsnew->m_page_id <= g_version_build && whatsnew->m_page_id > last_id))
|
||||
{
|
||||
whatsnew->set_title(fmt::format("What's new in version {}", g_version_number));
|
||||
|
||||
Reference in New Issue
Block a user