Browse Source

Update page indicator colors and new Readmangatoday domain

inorichi 7 years ago
parent
commit
25898d34ca

+ 1 - 1
app/src/main/java/eu/kanade/tachiyomi/source/online/english/Readmangatoday.kt

@@ -17,7 +17,7 @@ class Readmangatoday : ParsedHttpSource() {
 
     override val name = "ReadMangaToday"
 
-    override val baseUrl = "http://www.readmanga.today"
+    override val baseUrl = "http://www.readmng.com/"
 
     override val lang = "en"
 

+ 5 - 3
app/src/main/java/eu/kanade/tachiyomi/ui/reader/PageIndicatorTextView.kt

@@ -15,14 +15,16 @@ import android.widget.TextView
 class PageIndicatorTextView(context: Context, attrs: AttributeSet? = null) :
         AppCompatTextView(context, attrs) {
 
+    private val fillColor = Color.rgb(235, 235, 235)
+    private val strokeColor = Color.rgb(45, 45, 45)
+
     override fun onDraw(canvas: Canvas) {
-        val textColor = textColors.defaultColor
-        textColorField.set(this, Color.BLACK)
+        textColorField.set(this, strokeColor)
         paint.strokeWidth = 4f
         paint.style = Paint.Style.STROKE
         super.onDraw(canvas)
 
-        textColorField.set(this, textColor)
+        textColorField.set(this, fillColor)
         paint.strokeWidth = 0f
         paint.style = Paint.Style.FILL
         super.onDraw(canvas)

+ 0 - 1
app/src/main/res/layout/reader_activity.xml

@@ -30,7 +30,6 @@
             android:layout_height="wrap_content"
             android:layout_gravity="bottom|center_horizontal"
             android:padding="4dp"
-            android:textColor="@color/md_white_1000"
             android:textStyle="bold" />
 
     </FrameLayout>