ios/LibreOfficeLight/LibreOfficeLight/DocumentController.swift | 2 +- ios/LibreOfficeLight/LibreOfficeLight/LOKit/DocumentHolder.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit 9d007e6bdc0e1346e2e0d633379ce1f09c4e3b53 Author: Andrea Gelmini <[email protected]> AuthorDate: Wed Aug 26 13:23:25 2020 +0200 Commit: Julien Nabet <[email protected]> CommitDate: Mon Aug 31 08:53:59 2020 +0200 Fix typo in code Change-Id: Ic3527d7613867656871c4ff2276b0f922d497453 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101430 Tested-by: Jenkins Reviewed-by: Julien Nabet <[email protected]> Reviewed-by: Tor Lillqvist <[email protected]> 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 } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
