perryOnCrack

  • 0 Posts
  • 6 Comments
Joined 1 年前
cake
Cake day: 2023年8月4日

help-circle

  • There’s one based on Git, but haven’t been updated for a while: Git Journal

    Using git it’s probably the most easy and lightweight method to VC plain text, and you will probably just need to use the git commit command most of the time.

    I personally just use a bash script and run it through Tasker and Termux to sync my text notes to GitHub.





  • You shouldn’t write your Composable like this, Composable shouldn’t have business logic in it.

    A Composable only describes the UI it represents, and it’s possible to be re-runned at any point in time. In the best case scenario, it should only display the states it received from an entity like a ViewModel and emit actions to the entity as well.

    So in your case, the zip opening things should be outside of the import() Composable depends on you application structure and updated string through a different means.