Skip to content

Commit

Permalink
Build92
Browse files Browse the repository at this point in the history
  - Fixed tags crashing
  • Loading branch information
Hamza417 committed Aug 29, 2023
1 parent 80d21a2 commit 7db5511
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 49 deletions.
111 changes: 67 additions & 44 deletions app/src/main/assets/html/changelogs.html
Expand Up @@ -17,62 +17,85 @@ <h2>Build91</h2>

<!-- Write change logs here -->

<h4>User Interface</h4>
<h4>Bug Fixes</h4>

<ul>
<li>Added Open Source logo on the apps that are FOSS in nature or was FOSS somewhere in the
past.
<br>
<small>This will use F-Droid and IzzyOnDroid repo data to identify and validate in runtime
if the app is FOSS or not. Any other repo isn't supported and likely won't be
supported in the future.</small>
</li>
<li>Added self app updater for auto downloading latest update builds.
<br>
<small>For GitHub releases only, Play releases are Play Store dependent and Play API is not
open source.</small>
</li>
<li>Updated <b>Home</b> panel UI to make it consistent with the app's design language.</li>
<li>Added <b>Tags</b> to assign indefinite tags to any app and create a personalized app groups.
</li>
<li>Added <i>Tags</i> filter in <b>Search</b> panel.
<br>
<small>Use <b>#</b> before any keyword to enable tag search mode.</small>
</li>
<li>Added <i>Tags</i> strip in <b>Search</b> panel.</li>
<li>Fixed <b>Tags</b> crashing on opening after a tag is deleted.</li>
</ul>

<h4>Bug Fixes</h4>
<br>
<br>
<div class="wrap-collapsible">
<input class="toggle" id="build_91" type="checkbox">
<label class="lbl-toggle" for="build_91">Build91</label>
<div class="collapsible-content">
<div class="content-inner">
<h4>User Interface</h4>

<ul>
<li>Fixed an issue that's crashing the app info loader for non-installed apps.</li>
<li>Fixed a few random crashes.</li>
<li>Fixed no data issue in <b>Uses Features</b> panel.</li>
</ul>
<ul>
<li>Added Open Source logo on the apps that are FOSS in nature or was FOSS somewhere
in the
past.
<br>
<small>This will use F-Droid and IzzyOnDroid repo data to identify and validate
in runtime
if the app is FOSS or not. Any other repo isn't supported and likely
won't be
supported in the future.</small>
</li>
<li>Added self app updater for auto downloading latest update builds.
<br>
<small>For GitHub releases only, Play releases are Play Store dependent and Play
API is not
open source.</small>
</li>
<li>Updated <b>Home</b> panel UI to make it consistent with the app's design
language.
</li>
<li>Added <b>Tags</b> to assign indefinite tags to any app and create a personalized
app groups.
</li>
<li>Added <i>Tags</i> filter in <b>Search</b> panel.
<br>
<small>Use <b>#</b> before any keyword to enable tag search mode.</small>
</li>
<li>Added <i>Tags</i> strip in <b>Search</b> panel.</li>
</ul>

<h4>Improvement</h4>
<h4>Bug Fixes</h4>

<ul>
<li>Improved layouts and animations for Arabic locale.</li>
<li>Updated <b>Shortcuts</b> panel interface.</li>
<li>Some improvements in animations framework.</li>
<li>Further improvements in communication between bottom menu and fast scroller.</li>
</ul>
<ul>
<li>Fixed an issue that's crashing the app info loader for non-installed apps.</li>
<li>Fixed a few random crashes.</li>
<li>Fixed no data issue in <b>Uses Features</b> panel.</li>
</ul>

<h4>Removed</h4>
<h4>Improvement</h4>

<ul>
<li>Removed <b>Dex Classes</b> for non-installed apps.</li>
</ul>
<ul>
<li>Improved layouts and animations for Arabic locale.</li>
<li>Updated <b>Shortcuts</b> panel interface.</li>
<li>Some improvements in animations framework.</li>
<li>Further improvements in communication between bottom menu and fast scroller.
</li>
</ul>

<h4>Changes</h4>
<h4>Removed</h4>

<ul>
<li>Put a limit on search for up to 3 characters to prevent unnecessary search triggers.</li>
</ul>
<ul>
<li>Removed <b>Dex Classes</b> for non-installed apps.</li>
</ul>

<br>
<br>
<h4>Changes</h4>

<ul>
<li>Put a limit on search for up to 3 characters to prevent unnecessary search
triggers.
</li>
</ul>
</div>
</div>
</div>
<br>
<p>
Build90 was skipped.
Expand Down
10 changes: 5 additions & 5 deletions app/src/main/java/app/simple/inure/adapters/ui/AdapterTags.kt
Expand Up @@ -42,16 +42,16 @@ class AdapterTags(val tags: ArrayList<Tag>, private val tagsCallback: TagsCallba
holder.total.text = holder.itemView.context.getString(R.string.total_tags, tags.size)
}
is Holder -> {
holder.tag.text = tags[position - 1].tag
holder.recyclerView.adapter = AdapterTaggedIcons(tags[position - 1].packages.split(","))
holder.date.text = tags[position - 1].dateAdded.toDate()
holder.tag.text = tags[holder.bindingAdapterPosition.minus(1)].tag
holder.recyclerView.adapter = AdapterTaggedIcons(tags[holder.bindingAdapterPosition.minus(1)].packages.split(","))
holder.date.text = tags[holder.bindingAdapterPosition.minus(1)].dateAdded.toDate()

holder.container.setOnClickListener {
tagsCallback.onTagClicked(tags[position - 1])
tagsCallback.onTagClicked(tags[holder.bindingAdapterPosition.minus(1)])
}

holder.container.setOnLongClickListener {
tagsCallback.onTagLongClicked(tags[position - 1])
tagsCallback.onTagLongClicked(tags[holder.bindingAdapterPosition.minus(1)])
true
}
}
Expand Down

0 comments on commit 7db5511

Please sign in to comment.