Coder Social home page Coder Social logo

Comments (6)

AdiAr11 avatar AdiAr11 commented on May 22, 2024 2

@rozPierog I'm really very sorry to keep you waiting,I got a little busy. I'll create a draft pr. @iamyajat please feel free to continue with this issue, It might take longer for me to complete. Again really sorry !!

from cofi.

AdiAr11 avatar AdiAr11 commented on May 22, 2024 1

thank you. i'll try it and get back to you.

from cofi.

rozPierog avatar rozPierog commented on May 22, 2024 1

@iamyajat I see no reason not to. Unless @AdiAr11 is working on it in secret then it would be shame to double the work

from cofi.

AdiAr11 avatar AdiAr11 commented on May 22, 2024

hi, what needs to be changed here? Can i help?

from cofi.

rozPierog avatar rozPierog commented on May 22, 2024

Hi @AdiAr11 sure you can!
Problem is that we don't know what color is behind status bar (because of Material You/Monet) so we can't set statusbar color accordingly.
There is luminance() prop in Color that could tell us how bright that color is in 0.0f-1.0f
eg.

MaterialTheme.colors.surface.luminance() > 0.5f

and based on that we can set status bar icons color using

WindowInsetsControllerCompat.isAppearanceLightStatusBars = !isColorBright

If you decide to work on it, create a Draft PR so I can answer your questions there

from cofi.

iamyajat avatar iamyajat commented on May 22, 2024

Hey @rozPierog, can I work on this?

from cofi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.