pull/1395/head
parent
61a9a40292
commit
a7e676038d
@ -1,20 +0,0 @@ |
||||
package io.legado.app.lib.theme |
||||
|
||||
import android.graphics.drawable.GradientDrawable |
||||
import io.legado.app.utils.dp |
||||
import splitties.init.appCtx |
||||
|
||||
/** |
||||
* @author Karim Abou Zeid (kabouzeid) |
||||
*/ |
||||
@Suppress("unused", "MemberVisibilityCanBePrivate") |
||||
object ATH { |
||||
|
||||
fun getDialogBackground(): GradientDrawable { |
||||
val background = GradientDrawable() |
||||
background.cornerRadius = 3F.dp |
||||
background.setColor(appCtx.backgroundColor) |
||||
return background |
||||
} |
||||
|
||||
} |
Loading…
Reference in new issue