소스 검색

use menu- instead of reload-icon

the idea of the "reload" icon was
"oh, my images are missing, i hit reload, maybe they appear then",
however, this idea did not really work out,
we we figured out by seveial user discussions :)

(the old icon is also read as "sync", which is even more confusing)

just use the menu icon, i think, this will lead to fewer questions
(also, we may add more options that way :)
B. Petersen 2 년 전
부모
커밋
f0919df97b
1개의 변경된 파일7개의 추가작업 그리고 2개의 파일을 삭제
  1. 7 2
      deltachat-ios/Controller/FullMessageViewController.swift

+ 7 - 2
deltachat-ios/Controller/FullMessageViewController.swift

@@ -5,9 +5,14 @@ import DcCore
 class FullMessageViewController: WebViewViewController {
 
     var loadButton: UIBarButtonItem {
-        let button = UIBarButtonItem(barButtonSystemItem: UIBarButtonItem.SystemItem.refresh, target: self, action: #selector(showLoadOptions))
+        let image: UIImage?
+        if #available(iOS 13.0, *) {
+            image = UIImage(systemName: "ellipsis.circle")
+        } else {
+            image = UIImage(named: "ic_more")
+        }
+        let button = UIBarButtonItem(image: image, style: .plain, target: self, action: #selector(showLoadOptions))
         button.accessibilityLabel = String.localized("load_remote_content")
-        button.tintColor = DcColors.primary
         return button
     }