You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the title says, could you make scripts cleaner since some of them are kinda messy.
Like the .scripts/system/fetch.sh file has many unneeded ifs in the executeFetch function (for the battery) and you could use case statement in there too (same thing for the execute function (for the disk/storage)).
Also the executeFetch function (for the battery) does not execute anything when the battery state is NOT_CHARGING (when phone is connected to the charger but the charge is stopped by features like "Protect Battery" which stops charging at 85%).
The text was updated successfully, but these errors were encountered:
As the title says, could you make scripts cleaner since some of them are kinda messy.
Like the
.scripts/system/fetch.sh
file has many unneededif
s in theexecuteFetch
function (for the battery) and you could usecase
statement in there too (same thing for theexecute
function (for the disk/storage)).Also the
executeFetch
function (for the battery) does not execute anything when the battery state isNOT_CHARGING
(when phone is connected to the charger but the charge is stopped by features like "Protect Battery" which stops charging at 85%).The text was updated successfully, but these errors were encountered: