Skip to content
Snippets Groups Projects

[Sprint/KiltedKoala] (feat) scroll latest media in capture

Merged Martin Santangelo requested to merge feat/capture-image-scroll into release/3.9.0
2 unresolved threads

closes #185 (closed)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
64 60 /**
65 61 * Load photos
66 62 */
67 _loadPhotos() {
63 _loadPhotos = async() => {
64
65 if (this.state.loading || !this.state.hasMore) return;
  • 100 104 */
    101 105 render() {
    102 106
    103 const body = this.state.imagesLoaded ?
    104 _.chunk(this.state.photos.map((p, i) => this.renderTile(p, i)), 3)
    105 .map((c, i) => <View style={styles.row} key={i}>{c}</View>)
    106 : <CenteredLoading />
    107 if (!this.state.imagesLoaded) return <CenteredLoading />
  • added 1 commit

    Compare with previous version

  • Emiliano Balbuena approved this merge request

    approved this merge request

  • Brian Hatchet approved this merge request

    approved this merge request

  • mentioned in commit 88a48bab

  • Please register or sign in to reply
    Loading