Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
appinventor-sources
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
appinventor-sources
Commits
02a2d5e0
Commit
02a2d5e0
authored
Oct 12, 2023
by
Evan W. Patton
Committed by
Evan W. Patton
Oct 13, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix regression in use of ListView.Elements on iOS
Change-Id: Iad4033818ae3b679d6bedd260279f15072360f62
parent
8c3afbcd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
appinventor/components-ios/src/ListView.swift
appinventor/components-ios/src/ListView.swift
+1
-1
No files found.
appinventor/components-ios/src/ListView.swift
View file @
02a2d5e0
...
...
@@ -534,7 +534,7 @@ open class ListView: ViewComponent, AbstractMethodsForViewComponent,
}
open
func
tableView
(
_
tableView
:
UITableView
,
numberOfRowsInSection
section
:
Int
)
->
Int
{
return
_listData
.
count
return
_listData
.
isEmpty
?
_elements
.
count
:
_listData
.
count
}
// MARK: UITableViewDelegate
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment