Skip to content

Commit

Permalink
Fix warnings in Power and WallpaperPage (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
Feichtmeier committed Nov 14, 2021
1 parent 6d60f60 commit 5962894
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
17 changes: 7 additions & 10 deletions lib/view/pages/power/power_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,13 @@ class PowerPage extends StatelessWidget {

@override
Widget build(BuildContext context) {
return SizedBox(
width: 500, // TODO: Could be enforced by SettingsSection?
child: Column(
children: <Widget>[
BatterySection.create(context),
PowerProfileSection.create(context),
PowerSettingsSection.create(context),
SuspendSection.create(context),
],
),
return Column(
children: <Widget>[
BatterySection.create(context),
PowerProfileSection.create(context),
PowerSettingsSection.create(context),
SuspendSection.create(context),
],
);
}
}
2 changes: 0 additions & 2 deletions lib/view/pages/wallpaper/wallpaper_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ class WallpaperModel extends SafeChangeNotifier {
static const _pictureUriKey = 'picture-uri';
static const _preinstalledWallpapersDir = '/usr/share/backgrounds';
static const _colorShadingTypeKey = 'color-shading-type';
static const _pictureOpacityKey = 'picture-opacity';
static const _pictureOptionsKey = 'picture-options';
static const _primaryColorKey = 'primary-color';
static const _secondaryColorKey = 'secondary-color';

Expand Down

0 comments on commit 5962894

Please sign in to comment.