diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2020-08-26 13:23:25 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-08-31 08:53:59 +0200 |
commit | 9d007e6bdc0e1346e2e0d633379ce1f09c4e3b53 (patch) | |
tree | c427af2fabbdea8743c7f5054d55e6ff312656a1 /ios | |
parent | Fix typo in code (diff) | |
download | core-9d007e6bdc0e1346e2e0d633379ce1f09c4e3b53.tar.gz core-9d007e6bdc0e1346e2e0d633379ce1f09c4e3b53.zip |
Fix typo in code
Change-Id: Ic3527d7613867656871c4ff2276b0f922d497453
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101430
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'ios')
-rw-r--r-- | ios/LibreOfficeLight/LibreOfficeLight/DocumentController.swift | 2 | ||||
-rw-r--r-- | ios/LibreOfficeLight/LibreOfficeLight/LOKit/DocumentHolder.swift | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ios/LibreOfficeLight/LibreOfficeLight/DocumentController.swift b/ios/LibreOfficeLight/LibreOfficeLight/DocumentController.swift index af192249bc92..5743a1f4e7c9 100644 --- a/ios/LibreOfficeLight/LibreOfficeLight/DocumentController.swift +++ b/ios/LibreOfficeLight/LibreOfficeLight/DocumentController.swift @@ -422,7 +422,7 @@ class DocumentController: UIViewController, MenuDelegate, UIDocumentBrowserViewC self.documentOverlaysView = overlay // button view - used for spreadsheet tabs - if doc.isSpeadsheet + if doc.isSpreadsheet { buttonScrollView.isHidden = false buttonScrollView.setButtonLabels(labels: doc.partNames) diff --git a/ios/LibreOfficeLight/LibreOfficeLight/LOKit/DocumentHolder.swift b/ios/LibreOfficeLight/LibreOfficeLight/LOKit/DocumentHolder.swift index cfc2cb678367..9ca58eddf599 100644 --- a/ios/LibreOfficeLight/LibreOfficeLight/LOKit/DocumentHolder.swift +++ b/ios/LibreOfficeLight/LibreOfficeLight/LOKit/DocumentHolder.swift @@ -69,7 +69,7 @@ public class DocumentHolder { return documentType == LOK_DOCTYPE_DRAWING } - public var isSpeadsheet: Bool + public var isSpreadsheet: Bool { return documentType == LOK_DOCTYPE_SPREADSHEET } |