Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8565984b authored by Jonathan Klee's avatar Jonathan Klee Committed by Nishith Khanna
Browse files

Fix lint

parent 34e3de89
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -62,7 +62,6 @@

    <application
        android:name=".AppLoungeApplication"
        android:allowBackup="false"
        android:icon="@mipmap/ic_launcher"
        android:killAfterRestore="false"
        android:label="@string/app_name"
+1 −1
Original line number Diff line number Diff line
@@ -216,7 +216,7 @@ class ApplicationListRVAdapter(
            return
        }
        if (searchApp.ratings.usageQualityScore != -1.0) {
            appRating.text = searchApp.ratings.usageQualityScore.toString()
            appRating.text = "${searchApp.ratings.usageQualityScore}"
        } else {
            appRating.text = root.context.getString(R.string.not_available)
        }
+2 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
 */
package foundation.e.apps.ui.home.model

import android.annotation.SuppressLint
import androidx.recyclerview.widget.DiffUtil
import foundation.e.apps.data.application.data.Home

@@ -25,6 +26,7 @@ class FusedHomeDiffUtil : DiffUtil.ItemCallback<Home>() {
        return oldItem.list == newItem.list
    }

    @SuppressLint("DiffUtilEquals")
    override fun areContentsTheSame(oldItem: Home, newItem: Home): Boolean {
        return oldItem.title.contentEquals(newItem.title) &&
            oldItem.list == newItem.list &&
+1 −1
Original line number Diff line number Diff line
@@ -371,7 +371,7 @@ class UpdatesFragment : TimeoutFragment(R.layout.fragment_updates), ApplicationI
                    )
                    viewHolder?.let {
                        (viewHolder as ApplicationListRVAdapter.ViewHolder).binding.installButton.text =
                            String.format(Locale.getDefault(), "%d%%", progress);
                            String.format(Locale.getDefault(), "%d%%", progress)
                    }
                }
            }
+0 −27
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Apps  Quickly and easily install Android apps onto your device!
  ~ Copyright (C) 2021  E FOUNDATION
  ~
  ~ This program is free software: you can redistribute it and/or modify
  ~ it under the terms of the GNU General Public License as published by
  ~ the Free Software Foundation, either version 3 of the License, or
  ~ (at your option) any later version.
  ~
  ~ This program is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  ~ GNU General Public License for more details.
  ~
  ~ You should have received a copy of the GNU General Public License
  ~ along with this program.  If not, see <https://www.gnu.org/licenses/>.
  -->

<resources>

    <!-- Base application theme. -->
    <style name="Theme.Apps" parent="@style/BaseTheme">
        <item name="android:windowLightNavigationBar">@bool/is_day</item>
    </style>

</resources>
 No newline at end of file
Loading