forked from firka/student-legacy
moved news
This commit is contained in:
parent
b4f2d38e99
commit
f2c8e869b5
@ -966,6 +966,19 @@ class SettingsScreenState extends State<SettingsScreen>
|
|||||||
),
|
),
|
||||||
borderRadius: const BorderRadius.vertical(
|
borderRadius: const BorderRadius.vertical(
|
||||||
top: Radius.circular(12.0),
|
top: Radius.circular(12.0),
|
||||||
|
bottom: Radius.circular(4.0),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
PanelButton(
|
||||||
|
leading: Icon(
|
||||||
|
FeatherIcons.mail,
|
||||||
|
size: 22.0,
|
||||||
|
color: AppColors.of(context).text.withOpacity(0.95),
|
||||||
|
),
|
||||||
|
title: Text("news".i18n),
|
||||||
|
onPressed: () => _openNews(context),
|
||||||
|
borderRadius: const BorderRadius.vertical(
|
||||||
|
top: Radius.circular(4.0),
|
||||||
bottom: Radius.circular(12.0),
|
bottom: Radius.circular(12.0),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -1004,19 +1017,6 @@ class SettingsScreenState extends State<SettingsScreen>
|
|||||||
title: Text("about".i18n),
|
title: Text("about".i18n),
|
||||||
cardPadding: const EdgeInsets.all(4.0),
|
cardPadding: const EdgeInsets.all(4.0),
|
||||||
children: [
|
children: [
|
||||||
PanelButton(
|
|
||||||
leading: Icon(
|
|
||||||
FeatherIcons.mail,
|
|
||||||
size: 22.0,
|
|
||||||
color: AppColors.of(context).text.withOpacity(0.95),
|
|
||||||
),
|
|
||||||
title: Text("news".i18n),
|
|
||||||
onPressed: () => _openNews(context),
|
|
||||||
borderRadius: const BorderRadius.vertical(
|
|
||||||
top: Radius.circular(12.0),
|
|
||||||
bottom: Radius.circular(4.0),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
PanelButton(
|
PanelButton(
|
||||||
leading: Icon(
|
leading: Icon(
|
||||||
FeatherIcons.lock,
|
FeatherIcons.lock,
|
||||||
@ -1029,7 +1029,7 @@ class SettingsScreenState extends State<SettingsScreen>
|
|||||||
// mode: LaunchMode.inAppWebView),
|
// mode: LaunchMode.inAppWebView),
|
||||||
onPressed: () => _openPrivacy(context),
|
onPressed: () => _openPrivacy(context),
|
||||||
borderRadius: const BorderRadius.vertical(
|
borderRadius: const BorderRadius.vertical(
|
||||||
top: Radius.circular(4.0),
|
top: Radius.circular(12.0),
|
||||||
bottom: Radius.circular(4.0),
|
bottom: Radius.circular(4.0),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user