Skip to content

Commit

Permalink
upload icon and tooltip changed
Browse files Browse the repository at this point in the history
  • Loading branch information
chrxh committed Jul 1, 2023
1 parent a07bb67 commit 343035d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/Gui/BrowserWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ void _BrowserWindow::processToolbar()
AlienImGui::ToolbarSeparator();

ImGui::SameLine();
if (AlienImGui::ToolbarButton(ICON_FA_UPLOAD)) {
if (AlienImGui::ToolbarButton(ICON_FA_SHARE_ALT)) {
if (_networkController->getLoggedInUserName()) {
if (auto uploadSimulationDialog = _uploadSimulationDialog.lock()) {
uploadSimulationDialog->show();
Expand All @@ -174,7 +174,7 @@ void _BrowserWindow::processToolbar()
_loginDialog.lock()->show();
}
}
AlienImGui::Tooltip("Upload simulation");
AlienImGui::Tooltip("Share your simulation with other users:\nYour current simulation will be uploaded to the server and made visible in the browser.");
AlienImGui::Separator();
}

Expand Down Expand Up @@ -392,7 +392,7 @@ void _BrowserWindow::processStatus()

if (!_networkController->getLoggedInUserName()) {
statusText += std::string(" " ICON_FA_INFO_CIRCLE " ");
statusText += "In order to upload and rate simulations you need to log in.";
statusText += "In order to share and upvote simulations you need to log in.";
}
AlienImGui::Text(statusText);
ImGui::PopStyleColor();
Expand Down

0 comments on commit 343035d

Please sign in to comment.