Small ui fixes
This commit is contained in:
@@ -6,6 +6,7 @@ import androidx.room.PrimaryKey
|
||||
import org.koitharu.kotatsu.core.model.MangaSource
|
||||
import org.koitharu.kotatsu.core.model.MangaTag
|
||||
import org.koitharu.kotatsu.utils.ext.longHashCode
|
||||
import org.koitharu.kotatsu.utils.ext.toTitleCase
|
||||
|
||||
@Entity(tableName = "tags")
|
||||
class TagEntity(
|
||||
@@ -18,7 +19,7 @@ class TagEntity(
|
||||
|
||||
fun toMangaTag() = MangaTag(
|
||||
key = this.key,
|
||||
title = this.title,
|
||||
title = this.title.toTitleCase(),
|
||||
source = MangaSource.valueOf(this.source)
|
||||
)
|
||||
|
||||
|
||||
@@ -292,7 +292,7 @@ class MainActivity : BaseActivity<ActivityMainBinding>(),
|
||||
if (isLoading) {
|
||||
binding.fab.setImageDrawable(CircularProgressDrawable(this).also {
|
||||
it.setColorSchemeColors(R.color.kotatsu_onPrimaryContainer)
|
||||
it.strokeWidth = resources.resolveDp(2f)
|
||||
it.strokeWidth = resources.resolveDp(3.5f)
|
||||
it.start()
|
||||
})
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user