| 734 | ui::TextField* passwordField; |
| 735 | |
| 736 | void onAction(const ActionEvent& e) override { |
| 737 | std::string email = emailField->text; |
| 738 | std::string password = passwordField->text; |
| 739 | std::thread t([=] { |
| 740 | library::logIn(email, password); |
| 741 | library::checkUpdates(); |
| 742 | }); |
| 743 | t.detach(); |
| 744 | e.unconsume(); |
| 745 | } |
| 746 | |
| 747 | void step() override { |
| 748 | text = string::translate("MenuBar.library.login"); |
nothing calls this directly
no test coverage detected