Add ‘Refresh Data’ option on cron error popup
This commit is contained in:
parent
27898eccd0
commit
b7b1aa97ef
|
|
@ -21,6 +21,8 @@ class AppButton extends StatelessWidget {
|
||||||
final button = RaisedButton(
|
final button = RaisedButton(
|
||||||
padding: EdgeInsets.symmetric(vertical: 10, horizontal: 10),
|
padding: EdgeInsets.symmetric(vertical: 10, horizontal: 10),
|
||||||
color: color ?? Theme.of(context).buttonColor,
|
color: color ?? Theme.of(context).buttonColor,
|
||||||
|
shape: RoundedRectangleBorder(
|
||||||
|
borderRadius: BorderRadius.circular(5)),
|
||||||
child: iconData != null
|
child: iconData != null
|
||||||
? IconText(
|
? IconText(
|
||||||
icon: iconData,
|
icon: iconData,
|
||||||
|
|
|
||||||
|
|
@ -501,7 +501,7 @@ class SidebarFooter extends StatelessWidget {
|
||||||
Expanded(child: SizedBox())
|
Expanded(child: SizedBox())
|
||||||
] else ...[
|
] else ...[
|
||||||
if (!Config.DEMO_MODE && !state.isDemo)
|
if (!Config.DEMO_MODE && !state.isDemo)
|
||||||
if (true || !account.isCronEnabled)
|
if (!account.isCronEnabled)
|
||||||
IconButton(
|
IconButton(
|
||||||
icon: Icon(
|
icon: Icon(
|
||||||
Icons.warning,
|
Icons.warning,
|
||||||
|
|
|
||||||
|
|
@ -85,7 +85,7 @@ class _InvitationListTile extends StatelessWidget {
|
||||||
child: OutlineButton(
|
child: OutlineButton(
|
||||||
child: Text(localization.viewPortal.toUpperCase()),
|
child: Text(localization.viewPortal.toUpperCase()),
|
||||||
shape: RoundedRectangleBorder(
|
shape: RoundedRectangleBorder(
|
||||||
borderRadius: BorderRadius.circular(30)),
|
borderRadius: BorderRadius.circular(5)),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
launch(invitation.silentLink,
|
launch(invitation.silentLink,
|
||||||
forceWebView: false, forceSafariVC: false);
|
forceWebView: false, forceSafariVC: false);
|
||||||
|
|
@ -96,7 +96,7 @@ class _InvitationListTile extends StatelessWidget {
|
||||||
child: OutlineButton(
|
child: OutlineButton(
|
||||||
child: Text(localization.copyLink.toUpperCase()),
|
child: Text(localization.copyLink.toUpperCase()),
|
||||||
shape: RoundedRectangleBorder(
|
shape: RoundedRectangleBorder(
|
||||||
borderRadius: BorderRadius.circular(30)),
|
borderRadius: BorderRadius.circular(5)),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
Clipboard.setData(ClipboardData(text: invitation.link));
|
Clipboard.setData(ClipboardData(text: invitation.link));
|
||||||
Scaffold.of(context).showSnackBar(SnackBar(
|
Scaffold.of(context).showSnackBar(SnackBar(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue