Commit ef9ea274 authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

menu: fix inconsistent visual WiFi uploader states

parent c591e59c
...@@ -128,8 +128,9 @@ ...@@ -128,8 +128,9 @@
{ {
if (_reachability.currentReachabilityStatus == ReachableViaWiFi) { if (_reachability.currentReachabilityStatus == ReachableViaWiFi) {
_uploadButton.enabled = YES; _uploadButton.enabled = YES;
_uploadLocationLabel.text = NSLocalizedString(@"HTTP_UPLOAD_SERVER_OFF", @""); [self updateHTTPServerAddress];
} else { } else {
[_uploadButton setImage:[UIImage imageNamed:@"WifiUp"] forState:UIControlStateNormal];
_uploadButton.enabled = NO; _uploadButton.enabled = NO;
[_uploadButton setImage:[UIImage imageNamed:@"WiFiUp"] forState:UIControlStateDisabled]; [_uploadButton setImage:[UIImage imageNamed:@"WiFiUp"] forState:UIControlStateDisabled];
_uploadLocationLabel.text = NSLocalizedString(@"HTTP_UPLOAD_NO_CONNECTIVITY", @""); _uploadLocationLabel.text = NSLocalizedString(@"HTTP_UPLOAD_NO_CONNECTIVITY", @"");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment