Comments (10)
Hey there, is there anyone working on this? I think I can do this. Can you please assign this to me?
from fx-fotos.
@ehsan6sha Hey, today I started to implement the dark mode for the app. Are we going to have a settings in our app for controlling the dark mode of the app on it's inside implementation or we are just going to obbey from the device settings and device theme. I think we can have this item in settings menu and a global context for storing this as state on it, if the device theme mode was dark we can detect it at the first time we are running the app and decided what to do with the global theme of the app.
from fx-fotos.
@ehsan6sha @keyvan-m-sadeghi I think this is going to be done with ThemeProvider wrapper module around the whole App module, yes? or maybe I'm going to utilize the react-native-paper ThemeProvider or DarkTheme provider. If I'm not right please correct me.
from fx-fotos.
@ehsan6sha @keyvan-m-sadeghi I think this is going to be done with ThemeProvider wrapper module around the whole App module, yes? or maybe I'm going to utilize the react-native-paper ThemeProvider or DarkTheme provider. If I'm not right please correct me.
I trust you :D I say anything that is open source and has a good community and requires adding less complications works. I suggest something that is of material design type so that we can leverage in all themings
from fx-fotos.
@ehsan6sha @keyvan-m-sadeghi I think this is going to be done with ThemeProvider wrapper module around the whole App module, yes? or maybe I'm going to utilize the react-native-paper ThemeProvider or DarkTheme provider. If I'm not right please correct me.
I trust you :D I say anything that is open source and has a good community and requires adding less complications works. I suggest something that is of material design type so that we can leverage in all themings
Thank you really much, glad to hear. So I think we should go up with the themeprovider of the react navigation it self for having more consistant user interface and less complication.
from fx-fotos.
@ehsan6sha Hey, today I started to implement the dark mode for the app. Are we going to have a settings in our app for controlling the dark mode of the app on it's inside implementation or we are just going to obbey from the device settings and device theme. I think we can have this item in settings menu and a global context for storing this as state on it, if the device theme mode was dark we can detect it at the first time we are running the app and decided what to do with the global theme of the app.
Since we need a settings page regardless of theme, I believe the best is to have the control option in settings to give the user full control
from fx-fotos.
@ehsan6sha Hey, today I started to implement the dark mode for the app. Are we going to have a settings in our app for controlling the dark mode of the app on it's inside implementation or we are just going to obbey from the device settings and device theme. I think we can have this item in settings menu and a global context for storing this as state on it, if the device theme mode was dark we can detect it at the first time we are running the app and decided what to do with the global theme of the app.
Since we need a settings page regardless of theme, I believe the best is to have the control option in settings to give the user full control
So then I'm going to implement that with redux like library for giving user full controll on the theme state, these days I'm just somehow living in the office and working really on my companies projects maybe it may take a bit for fixing this issue. Is that going to be a problem?
from fx-fotos.
@ehsan6sha Hey, today I started to implement the dark mode for the app. Are we going to have a settings in our app for controlling the dark mode of the app on it's inside implementation or we are just going to obbey from the device settings and device theme. I think we can have this item in settings menu and a global context for storing this as state on it, if the device theme mode was dark we can detect it at the first time we are running the app and decided what to do with the global theme of the app.
Since we need a settings page regardless of theme, I believe the best is to have the control option in settings to give the user full control
So then I'm going to implement that with redux like library for giving user full controll on the theme state, these days I'm just somehow living in the office and working really on my companies projects maybe it may take a bit for fixing this issue. Is that going to be a problem?
Thank you Emad. No problem at all and it's very much appreciated. Just two notes from my experience which we can discuss if you think otherwise:
1- please use recoil (it's already in library list and we used recoil to manage states and not redux)
2- please try to keep state changes to minimum and per your experience use animated or reanimated (for example for hiding and showing elements I used opacity and reanimated instead of a boolean state change to minimize re-renders).
from fx-fotos.
@ehsan6sha Hey, today I started to implement the dark mode for the app. Are we going to have a settings in our app for controlling the dark mode of the app on it's inside implementation or we are just going to obbey from the device settings and device theme. I think we can have this item in settings menu and a global context for storing this as state on it, if the device theme mode was dark we can detect it at the first time we are running the app and decided what to do with the global theme of the app.
Since we need a settings page regardless of theme, I believe the best is to have the control option in settings to give the user full control
So then I'm going to implement that with redux like library for giving user full controll on the theme state, these days I'm just somehow living in the office and working really on my companies projects maybe it may take a bit for fixing this issue. Is that going to be a problem?
Thank you Emad. No problem at all and it's very much appreciated. Just two notes from my experience which we can discuss if you think otherwise:
1- please use recoil (it's already in library list and we used recoil to manage states and not redux)
2- please try to keep state changes to minimum and per your experience use animated or reanimated (for example for hiding and showing elements I used opacity and reanimated instead of a boolean state change to minimize re-renders).
Aha woth these notes and points I think I should utilize recoil library. That's amazing trick for reducing the rerenders I will try to use the technique if needed. Thank you.
from fx-fotos.
Dark/light mode feature done #162
from fx-fotos.
Related Issues (20)
- Fotos: change expo library to camera roll
- Fotos: Make video play in single image mode like Google Photos HOT 1
- Fotos: get metadata of photos and store in localdb in the background
- Fotos: implement first version of search page
- Fotos: Navigate to next story on story highlight screen
- picture in picture
- Fotos: Improve gallery change view pinch gesture
- Fotos: Delete does not work HOT 1
- Ketley Prates
- Adding blox manually does not change the icon
- Implementation of successful upload check
- Delete does not really delete the asset
- Uploaded assets cannot be restored on a totally new app(device)
- Thumb scroll position is not synced with finger position HOT 1
- Highlights does not show anything other than Recently when photos are only from 2023 HOT 1
- Photo gallery
- Fx-Fotos crashes with the latest RN-fula
- fatal error: 'fbjni/fbjni.h' file not found
- Switch recyclerlistview to shopify/flash-list
- every 5 seconds submit a replication request for current cids
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fx-fotos.