Add delete_all_remote_backups and some refactoring.

This commit is contained in:
J-D-K
2025-08-01 13:53:57 -04:00
parent 73af5ffe7e
commit 8172e59ccf
73 changed files with 1450 additions and 833 deletions

View File

@@ -32,6 +32,18 @@ TextTitleSelectState::TextTitleSelectState(data::User *user)
TextTitleSelectState::refresh();
}
std::shared_ptr<TextTitleSelectState> TextTitleSelectState::create(data::User *user)
{
return std::make_shared<TextTitleSelectState>(user);
}
std::shared_ptr<TextTitleSelectState> TextTitleSelectState::create_and_push(data::User *user)
{
auto newState = TextTitleSelectState::create(user);
StateManager::push_state(newState);
return newState;
}
void TextTitleSelectState::update()
{
const bool hasFocus = BaseState::has_focus();