Skip to content

Commit

Permalink
Uses system theme as default theme
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceFox authored Jul 7, 2023
1 parent 3c90f22 commit 15e2e1e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ private const val THEME_DAY = "day"
private const val THEME_BLACK = "black"
private const val THEME_AUTO = "auto"
private const val THEME_SYSTEM = "auto_system"
const val APP_THEME_DEFAULT = THEME_NIGHT
const val APP_THEME_DEFAULT = THEME_SYSTEM

fun getDimension(context: Context, @AttrRes attribute: Int): Int {
return context.obtainStyledAttributes(intArrayOf(attribute)).use { array ->
Expand Down

0 comments on commit 15e2e1e

Please sign in to comment.