package Ġbr . com . recipe book . utility android . view . theme Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroid . content . res . Configuration Ċ import Ġandroid . content . res . Configuration . UI _ MODE _ N IGHT _ YES Ċ Ċ fun ĠContext . is Dark Theme On (): ĠBoolean Ġ{ ĊĠĠĠ Ġreturn Ġresources . configuration . ui Mode Ġand ĊĠĠĠĠĠĠĠ ĠConfiguration . UI _ MODE _ N IGHT _ MASK Ġ== ĠUI _ MODE _ N IGHT _ YES Ċ } Ċ