Skip to content

Commit

Permalink
Merge pull request #23
Browse files Browse the repository at this point in the history
fix: #13
  • Loading branch information
Songtronix authored Feb 6, 2020
2 parents 1b464fd + de136ba commit 0a452f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion client/src/gui/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,8 @@ impl Application for Airshipper {
LauncherState::LoadingSave
| LauncherState::Playing
| LauncherState::Downloading(_)
| LauncherState::QueryingForUpdates => {
| LauncherState::QueryingForUpdates
| LauncherState::Error(_) => {
play = play.style(style::PlayButtonDisabled);
play = play.on_press(Interaction::Disabled);
}
Expand Down
4 changes: 2 additions & 2 deletions client/src/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ pub async fn get_version(profile: &Profile) -> Result<String> {
Ok(resp.text()?)
} else {
Err(format!(
"Couldn't download version information. Server returned '{}'",
resp.status()
"Couldn't download version information. Server returned: {}",
resp.text()?
)
.into())
}
Expand Down

0 comments on commit 0a452f0

Please sign in to comment.