Theme Mode #2
This commit is contained in:
@@ -29,8 +29,7 @@ class PreferenceScreen extends StatelessWidget {
|
||||
onTap: () {
|
||||
showDialog(
|
||||
context: context,
|
||||
builder: (_) =>
|
||||
const LanguageDialog(),
|
||||
builder: (_) => const LanguageDialog(),
|
||||
);
|
||||
},
|
||||
),
|
||||
@@ -51,8 +50,7 @@ class PreferenceScreen extends StatelessWidget {
|
||||
context: context,
|
||||
builder: (_) => const ColorThemeDialog(),
|
||||
);
|
||||
}
|
||||
),
|
||||
}),
|
||||
],
|
||||
);
|
||||
},
|
||||
|
@@ -30,4 +30,4 @@ Future<void> showThemeModeDialog(BuildContext context) async {
|
||||
);
|
||||
},
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user