mirror of
https://github.com/git-touch/git-touch
synced 2024-12-16 10:20:55 +01:00
fix edge background succinctly
This commit is contained in:
parent
2b09db6623
commit
0a18c67eb8
@ -113,15 +113,10 @@ class _GhSearchScreenState extends State<GhSearchScreen> {
|
||||
|
||||
Widget _buildInput() {
|
||||
final theme = Provider.of<ThemeModel>(context);
|
||||
final brightnessType = theme.brighnessValue;
|
||||
var color = Colors.black;
|
||||
if(brightnessType == AppBrightnessType.light) {
|
||||
color = Colors.white;
|
||||
}
|
||||
switch (Provider.of<ThemeModel>(context).theme) {
|
||||
case AppThemeType.cupertino:
|
||||
return Container(
|
||||
color: color,
|
||||
color: theme.palette.background,
|
||||
child: CupertinoTextField(
|
||||
prefix: Row(
|
||||
children: <Widget>[
|
||||
|
Loading…
Reference in New Issue
Block a user