mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-03 23:58:55 +01:00 
			
		
		
		
	Remove unused dependencies (#7585)
This commit is contained in:
		@@ -1,19 +0,0 @@
 | 
			
		||||
package eu.kanade.tachiyomi.widget
 | 
			
		||||
 | 
			
		||||
import android.content.Context
 | 
			
		||||
import android.util.AttributeSet
 | 
			
		||||
import androidx.swiperefreshlayout.widget.SwipeRefreshLayout
 | 
			
		||||
import eu.kanade.tachiyomi.R
 | 
			
		||||
import eu.kanade.tachiyomi.util.system.getThemeColor
 | 
			
		||||
 | 
			
		||||
class ThemedSwipeRefreshLayout @JvmOverloads constructor(
 | 
			
		||||
    context: Context,
 | 
			
		||||
    attrs: AttributeSet? = null,
 | 
			
		||||
) : SwipeRefreshLayout(context, attrs) {
 | 
			
		||||
    init {
 | 
			
		||||
        // Background
 | 
			
		||||
        setProgressBackgroundColorSchemeColor(context.getThemeColor(R.attr.colorPrimary))
 | 
			
		||||
        // This updates the progress arrow color
 | 
			
		||||
        setColorSchemeColors(context.getThemeColor(R.attr.colorOnPrimary))
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user