Browse Source

menu: fix inconsistent visual WiFi uploader states

Felix Paul Kühne 11 years ago
parent
commit
ef9ea27473
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Sources/VLCMenuTableViewController.m

+ 2 - 1
Sources/VLCMenuTableViewController.m

@@ -128,8 +128,9 @@
 {
     if (_reachability.currentReachabilityStatus == ReachableViaWiFi) {
         _uploadButton.enabled = YES;
-        _uploadLocationLabel.text = NSLocalizedString(@"HTTP_UPLOAD_SERVER_OFF", @"");
+        [self updateHTTPServerAddress];
     } else {
+        [_uploadButton setImage:[UIImage imageNamed:@"WifiUp"] forState:UIControlStateNormal];
         _uploadButton.enabled = NO;
         [_uploadButton setImage:[UIImage imageNamed:@"WiFiUp"] forState:UIControlStateDisabled];
         _uploadLocationLabel.text = NSLocalizedString(@"HTTP_UPLOAD_NO_CONNECTIVITY", @"");