Drop unused code since migration to navigation components
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
@@ -250,7 +250,6 @@ class NotificationService : Service() {
|
||||
}
|
||||
|
||||
Status.PAUSED -> {
|
||||
val pauseString = getString(R.string.download_paused)
|
||||
progressBigText.bigText(
|
||||
getString(
|
||||
R.string.download_paused,
|
||||
|
||||
@@ -23,10 +23,8 @@ import android.content.Context
|
||||
import android.util.AttributeSet
|
||||
import android.widget.RelativeLayout
|
||||
import coil.load
|
||||
import com.airbnb.epoxy.CallbackProp
|
||||
import com.airbnb.epoxy.ModelProp
|
||||
import com.airbnb.epoxy.ModelView
|
||||
import com.airbnb.epoxy.OnViewRecycled
|
||||
import com.aurora.gplayapi.data.models.details.Badge
|
||||
import com.aurora.store.R
|
||||
import com.aurora.store.databinding.ViewBadgeBinding
|
||||
@@ -77,13 +75,4 @@ class BadgeView : RelativeLayout {
|
||||
B.img.load(it.url)
|
||||
}
|
||||
}
|
||||
|
||||
@CallbackProp
|
||||
fun click(onClickListener: OnClickListener?) {
|
||||
|
||||
}
|
||||
|
||||
@OnViewRecycled
|
||||
fun clear() {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,10 +24,8 @@ import android.util.AttributeSet
|
||||
import android.widget.RelativeLayout
|
||||
import androidx.core.text.HtmlCompat
|
||||
import coil.load
|
||||
import com.airbnb.epoxy.CallbackProp
|
||||
import com.airbnb.epoxy.ModelProp
|
||||
import com.airbnb.epoxy.ModelView
|
||||
import com.airbnb.epoxy.OnViewRecycled
|
||||
import com.aurora.gplayapi.data.models.details.Badge
|
||||
import com.aurora.store.R
|
||||
import com.aurora.store.databinding.ViewMoreBadgeBinding
|
||||
@@ -86,13 +84,4 @@ class MoreBadgeView : RelativeLayout {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@CallbackProp
|
||||
fun click(onClickListener: OnClickListener?) {
|
||||
|
||||
}
|
||||
|
||||
@OnViewRecycled
|
||||
fun clear() {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -124,7 +124,7 @@ class AccentFragment : BaseFragment() {
|
||||
}
|
||||
|
||||
private fun updateAccent(accentId: Int) {
|
||||
applyTheme(themeId, false)
|
||||
applyTheme(themeId)
|
||||
save(PREFERENCE_THEME_ACCENT, accentId)
|
||||
}
|
||||
|
||||
|
||||
@@ -110,7 +110,7 @@ class ThemeFragment : BaseFragment() {
|
||||
}
|
||||
|
||||
private fun update(themeId: Int) {
|
||||
applyTheme(themeId, false)
|
||||
applyTheme(themeId)
|
||||
save(PREFERENCE_THEME_TYPE, themeId)
|
||||
}
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ class UIPreference : PreferenceFragmentCompat() {
|
||||
val themeId = Integer.parseInt(newValue.toString())
|
||||
|
||||
save(Preferences.PREFERENCE_THEME_TYPE, themeId)
|
||||
applyTheme(themeId, shouldApplyTransition = false)
|
||||
applyTheme(themeId)
|
||||
true
|
||||
}
|
||||
}
|
||||
@@ -86,7 +86,7 @@ class UIPreference : PreferenceFragmentCompat() {
|
||||
val accentId = Integer.parseInt(newValue.toString())
|
||||
|
||||
save(Preferences.PREFERENCE_THEME_ACCENT, accentId)
|
||||
applyTheme(themeId, shouldApplyTransition = false)
|
||||
applyTheme(themeId)
|
||||
true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user