Skip to content

Commit

Permalink
Merge branch 'main' into prod/festapp
Browse files Browse the repository at this point in the history
  • Loading branch information
miakh committed Nov 1, 2024
2 parents 7df67fc + b954974 commit 59c0a3d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lib/components/dataGrid/DataGridHelper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ class DataGridHelper
},
);}

static Widget mapIconRenderer(rendererContext, List<IconModel> icons) {
static Widget mapIconRenderer(BuildContext context, rendererContext, List<IconModel> icons) {
int? value = rendererContext.cell.value;
return iconToRow(rendererContext, value, icons);
return iconToRow(context, value, icons);
}

static Widget iconToRow(BuildContext context, int? id, List<IconModel> icons) {
Expand Down
2 changes: 1 addition & 1 deletion lib/pages/AdministrationPage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ class _AdministrationPageState extends State<AdministrationPage> with SingleTick
type: PlutoColumnType.select(mapIcons, builder: (icon) {
return DataGridHelper.iconToRow(context, icon, svgIcons);
}),
renderer: (rendererContext) => DataGridHelper.mapIconRenderer(rendererContext, svgIcons),
renderer: (rendererContext) => DataGridHelper.mapIconRenderer(context, rendererContext, svgIcons),
),
PlutoColumn(
width: 150,
Expand Down
4 changes: 2 additions & 2 deletions lib/pages/SettingsPage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ class _SettingsPageState extends State<SettingsPage> {
context: context,
label: "Install App".tr(),
onPressed: _canInstallPWA ? handleInstallButtonPress : null,
color: _canInstallPWA ? ThemeConfig.seed1 : Colors.grey,
color: _canInstallPWA ? ThemeConfig.blackColor(context) : Colors.grey,
textColor: Colors.white,
),
if (!_isPlatformSupported)
Expand All @@ -208,7 +208,7 @@ class _SettingsPageState extends State<SettingsPage> {
padding: const EdgeInsets.only(top: 8.0),
child: Text(
"The app is already installed.",
style: TextStyle(fontSize: 16, color: ThemeConfig.seed1),
style: TextStyle(fontSize: 16, color: ThemeConfig.blackColor(context)),
textAlign: TextAlign.center,
).tr(),
),
Expand Down
2 changes: 1 addition & 1 deletion lib/pages/UserPage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ class _UserPageState extends State<UserPage> {
).tr(),
)),
const SizedBox(
height: 16,
height: 8,
),
Container(
alignment: Alignment.topCenter,
Expand Down

0 comments on commit 59c0a3d

Please sign in to comment.