Skip to content

Commit

Permalink
Update src/views/settings/SettingsSubjects.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: 𝕂𝕪𝕝𝕚𝕒𝕟 <[email protected]>
  • Loading branch information
codeuriii and Kgeek33 authored Dec 4, 2024
1 parent 4437854 commit db25895
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/views/settings/SettingsSubjects.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,8 @@ const SettingsSubjects: Screen<"SettingsSubjects"> = ({ navigation }) => {
setCustomColor(text);
}}
/>
<TouchableOpacity
{customColor !== selectedSubject[1].color && (
<TouchableOpacity
onPress={() => {
if (/^#[0-9A-F]{6}$/i.test(customColor)) {
handleSubjectColorChange(selectedSubject[0], customColor);
Expand Down

0 comments on commit db25895

Please sign in to comment.