Fix case 18465: redirect to domain after login
Showing the changes to interface/src/Application.cpp (1 of 7 files). Show all
Unified · Split
| @@ -1236,7 +1236,8 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo · 1235 unmodified lines | ||
| 1236 | 1236 | auto dialogsManager = DependencyManager::get<DialogsManager>(); |
| 1237 | 1237 | #if defined(Q_OS_ANDROID) |
| 1238 | 1238 | connect(accountManager.data(), &AccountManager::authRequired, this, []() { |
| 1239 | − AndroidHelper::instance().showLoginDialog(); | |
| 1239 | + auto addressManager = DependencyManager::get<AddressManager>(); | |
| 1240 | + AndroidHelper::instance().showLoginDialog(addressManager->currentAddress()); | |
| 1240 | 1241 | }); |
| 1241 | 1242 | #else |
| 1242 | 1243 | connect(accountManager.data(), &AccountManager::authRequired, dialogsManager.data(), &DialogsManager::showLoginDialog); |