Refactor settings to use stack to allow dark theme. Move theme to app reducer to allow persistence.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { setTheme } from "@/redux/user/user.actions";
|
||||
import { selectTheme } from "@/redux/user/user.selectors";
|
||||
import { setTheme } from "@/redux/app/app.actions";
|
||||
import { selectTheme } from "@/redux/app/app.selectors";
|
||||
import React from "react";
|
||||
import { SegmentedButtons } from "react-native-paper";
|
||||
import { useDispatch, useSelector } from "react-redux";
|
||||
|
||||
Reference in New Issue
Block a user