Small ui fixes

This commit is contained in:
Koitharu
2022-03-04 19:09:58 +02:00
parent f6a70dc7ac
commit eb7e255430
5 changed files with 10 additions and 10 deletions

View File

@@ -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)
)

View File

@@ -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 {