ubuntu-flutter-community / settings

:penguin: :orange_heart: :blue_heart: An Ubuntu Desktop system settings app made with Flutter.
GNU General Public License v3.0
272 stars 47 forks source link

Add icons to power profile section #301

Closed Jupi007 closed 2 years ago

Jupi007 commented 2 years ago

A small PR to add some colored icons to the power profile section :)

Capture d’écran du 2022-03-12 22-00-53

Jupi007 commented 2 years ago

The CI fail cause to files I didn't edited 🤔 Should I still merge?

Feichtmeier commented 2 years ago

uhm... where does this come from Oo

warning - lib/view/pages/bluetooth/bluetooth_device_model.dart:88:30 - The '!' will have no effect because the receiver can't be null. Try removing the '!' operator. - unnecessary_non_null_assertion
   info - lib/services/power_settings_service.dart:80:16 - This function has a nullable return type of 'FutureOr<int?>', but ends without returning a value. Try adding a return statement, or if no value is ever returned, try changing the return type to 'void'. - body_might_complete_normally_nullable
   info - lib/services/power_settings_service.dart:87:27 - The exception variable 'e' isn't used, so the 'catch' clause can be removed. Try removing the catch clause. - unused_catch_clause

oh... it was changed in the the displays PR oO

Feichtmeier commented 2 years ago

Yes merge, I fix it later