diff options
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 } |