File tree 2 files changed +7
-12
lines changed
2 files changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -12,16 +12,13 @@ class PowerPage extends StatelessWidget {
12
12
13
13
@override
14
14
Widget build (BuildContext context) {
15
- return SizedBox (
16
- width: 500 , // TODO: Could be enforced by SettingsSection?
17
- child: Column (
18
- children: < Widget > [
19
- BatterySection .create (context),
20
- PowerProfileSection .create (context),
21
- PowerSettingsSection .create (context),
22
- SuspendSection .create (context),
23
- ],
24
- ),
15
+ return Column (
16
+ children: < Widget > [
17
+ BatterySection .create (context),
18
+ PowerProfileSection .create (context),
19
+ PowerSettingsSection .create (context),
20
+ SuspendSection .create (context),
21
+ ],
25
22
);
26
23
}
27
24
}
Original file line number Diff line number Diff line change @@ -11,8 +11,6 @@ class WallpaperModel extends SafeChangeNotifier {
11
11
static const _pictureUriKey = 'picture-uri' ;
12
12
static const _preinstalledWallpapersDir = '/usr/share/backgrounds' ;
13
13
static const _colorShadingTypeKey = 'color-shading-type' ;
14
- static const _pictureOpacityKey = 'picture-opacity' ;
15
- static const _pictureOptionsKey = 'picture-options' ;
16
14
static const _primaryColorKey = 'primary-color' ;
17
15
static const _secondaryColorKey = 'secondary-color' ;
18
16
You can’t perform that action at this time.
0 commit comments