Update lineicons.

This commit is contained in:
Stonegate 2021-02-10 01:55:51 +08:00
parent f208ab6925
commit d892f79863
17 changed files with 59 additions and 59 deletions

View File

@ -208,7 +208,7 @@ class _AboutAppState extends State<AboutApp> {
children: <Widget>[
_listItem(context, 'Twitter @tsacdop',
LineIcons.twitter, 'https://twitter.com/tsacdop'),
_listItem(context, 'GitHub', LineIcons.github_alt,
_listItem(context, 'GitHub', LineIcons.alternateGithub,
'https://github.com/stonega/tsacdop'),
_listItem(context, 'Telegram', LineIcons.telegram,
'https://t.me/joinchat/Bk3LkRpTHy40QYC78PK7Qg'),

View File

@ -555,7 +555,7 @@ class _PlaylistWidgetState extends State<PlaylistWidget> {
child: Transform.rotate(
angle: math.pi,
child: Icon(
LineIcons.database_solid,
LineIcons.database,
size: 20.0,
),
),
@ -855,7 +855,7 @@ class SleepModeState extends State<SleepMode>
width: 30.0,
child: Icon(
_openClock
? LineIcons.stopwatch_solid
? LineIcons.stopwatch
: LineIcons.clock,
size: 20.0,
),

View File

@ -616,7 +616,7 @@ class _RecentUpdateState extends State<_RecentUpdate>
padding: EdgeInsets.symmetric(horizontal: 5),
),
Icon(
LineIcons.filter_solid,
LineIcons.filter,
size: 18,
)
],
@ -735,7 +735,7 @@ class _RecentUpdateState extends State<_RecentUpdate>
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
children: [
Icon(LineIcons.cloud_download_alt_solid,
Icon(LineIcons.alternateCloudDownload,
size: 80, color: Colors.grey[500]),
Padding(
padding: EdgeInsets.symmetric(vertical: 10)),
@ -819,7 +819,7 @@ class _RecentUpdateState extends State<_RecentUpdate>
child: IconButton(
tooltip: context.s.refresh,
icon: Icon(
LineIcons.redo_alt_solid,
LineIcons.alternateRedo,
size: 16),
onPressed: () {
_updateRssItem();
@ -979,7 +979,7 @@ class _MyFavoriteState extends State<_MyFavorite>
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
children: [
Icon(LineIcons.heartbeat_solid,
Icon(LineIcons.heartbeat,
size: 80, color: Colors.grey[500]),
Padding(
padding: EdgeInsets.symmetric(vertical: 10)),
@ -1070,7 +1070,7 @@ class _MyFavoriteState extends State<_MyFavorite>
),
Icon(
LineIcons
.hourglass_start_solid,
.hourglassStart,
size: 18,
)
],
@ -1276,7 +1276,7 @@ class _MyDownloadState extends State<_MyDownload>
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
children: [
Icon(LineIcons.download_solid,
Icon(LineIcons.download,
size: 80, color: Colors.grey[500]),
Padding(
padding:

View File

@ -759,7 +759,7 @@ class ShowEpisode extends StatelessWidget {
? s.play
: s.playing),
trailingIcon: Icon(
LineIcons.play_circle_solid,
LineIcons.playCircle,
color: context.accentColor,
),
onPressed: () {
@ -779,7 +779,7 @@ class ShowEpisode extends StatelessWidget {
? Text(s.remove)
: Text(s.later),
trailingIcon: Icon(
LineIcons.clock_solid,
LineIcons.clock,
color: Colors.cyan,
),
onPressed: () {
@ -876,7 +876,7 @@ class ShowEpisode extends StatelessWidget {
.withOpacity(0.5)))
: Text(s.download),
trailingIcon: Icon(
LineIcons.download_solid,
LineIcons.download,
color: Colors.green),
onPressed: () {
if (!isDownloaded) {
@ -894,7 +894,7 @@ class ShowEpisode extends StatelessWidget {
: context.dialogBackgroundColor,
title: Text(s.playNext),
trailingIcon: Icon(
LineIcons.bolt_solid,
LineIcons.lightningBolt,
color: Colors.amber,
),
onPressed: () {

View File

@ -110,7 +110,7 @@ class _PopupMenuState extends State<PopupMenu> {
child: Row(
crossAxisAlignment: CrossAxisAlignment.center,
children: <Widget>[
Icon(LineIcons.redo_alt_solid, size: 20),
Icon(LineIcons.alternateRedo, size: 20),
Padding(
padding: EdgeInsets.symmetric(horizontal: 5.0),
),
@ -145,7 +145,7 @@ class _PopupMenuState extends State<PopupMenu> {
padding: EdgeInsets.only(left: 10),
child: Row(
children: <Widget>[
Icon(LineIcons.paperclip_solid),
Icon(LineIcons.paperclip),
Padding(
padding: EdgeInsets.symmetric(horizontal: 5.0),
),
@ -160,7 +160,7 @@ class _PopupMenuState extends State<PopupMenu> {
padding: EdgeInsets.only(left: 10),
child: Row(
children: <Widget>[
Icon(LineIcons.cog_solid),
Icon(LineIcons.cog),
Padding(
padding: EdgeInsets.symmetric(horizontal: 5.0),
),
@ -175,7 +175,7 @@ class _PopupMenuState extends State<PopupMenu> {
padding: EdgeInsets.only(left: 10),
child: Row(
children: <Widget>[
Icon(LineIcons.info_circle_solid),
Icon(LineIcons.infoCircle),
Padding(
padding: EdgeInsets.symmetric(horizontal: 5.0),
),

View File

@ -387,7 +387,7 @@ class __DismissibleContainerState extends State<_DismissibleContainer> {
padding: EdgeInsets.all(5),
alignment: Alignment.center,
child: Icon(
LineIcons.trash_alt_solid,
LineIcons.alternateTrash,
color: Colors.white,
size: 15,
),
@ -398,7 +398,7 @@ class __DismissibleContainerState extends State<_DismissibleContainer> {
padding: EdgeInsets.all(5),
alignment: Alignment.center,
child: Icon(
LineIcons.trash_alt_solid,
LineIcons.alternateTrash,
color: Colors.white,
size: 15,
),

View File

@ -244,19 +244,19 @@ class DiscoveryPageState extends State<DiscoveryPage> {
mainAxisAlignment: MainAxisAlignment.center,
children: [
Icon(
LineIcons.microphone_solid,
LineIcons.microphone,
size: 30,
color: Colors.lightBlue,
),
SizedBox(width: 50),
Icon(
LineIcons.broadcast_tower_solid,
LineIcons.broadcastTower,
size: 30,
color: Colors.deepPurple,
),
SizedBox(width: 50),
Icon(
LineIcons.rss_square_solid,
LineIcons.rssSquare,
size: 30,
color: Colors.blueGrey,
),

View File

@ -125,8 +125,8 @@ class _PlaylistHomeState extends State<PlaylistHome> {
padding: EdgeInsets.zero,
icon: Icon(
playing
? LineIcons.pause_circle_solid
: LineIcons.play_solid,
? LineIcons.pauseCircle
: LineIcons.play,
size: 40),
onPressed: () {
if (running) {
@ -767,7 +767,7 @@ class __PlaylistsState extends State<_Playlists> {
'${data[index].length} ${s.episode(data[index].length).toLowerCase()}'),
trailing: IconButton(
splashRadius: 20,
icon: Icon(LineIcons.play_circle_solid, size: 30),
icon: Icon(LineIcons.playCircle, size: 30),
onPressed: () {
context
.read<AudioPlayerNotifier>()

View File

@ -280,7 +280,7 @@ class _PodcastDetailState extends State<PodcastDetail> {
onTap: () => widget.podcastLocal.link.launchUrl),
_podcastLink(
title: 'Rss',
child: Icon(LineIcons.rss_square_solid, size: 30),
child: Icon(LineIcons.rssSquare, size: 30),
backgroundColor: Colors.blue[600],
onTap: () => widget.podcastLocal.rssUrl.launchUrl),
if (widget.podcastLocal.funding.isNotEmpty)
@ -292,7 +292,7 @@ class _PodcastDetailState extends State<PodcastDetail> {
'paypal',
)
? LineIcons.paypal
: LineIcons.donate_solid,
: LineIcons.donate,
size: 30),
backgroundColor: Colors.red[600],
onTap: () => funding.launchUrl),
@ -407,7 +407,7 @@ class _PodcastDetailState extends State<PodcastDetail> {
Text(s.filter),
SizedBox(width: 5),
Icon(
LineIcons.filter_solid,
LineIcons.filter,
color:
_filter != Filter.all ? context.accentColor : null,
size: 18,
@ -581,8 +581,8 @@ class _PodcastDetailState extends State<PodcastDetail> {
tooltip: s.homeSubMenuSortBy,
icon: Icon(
_reverse
? LineIcons.hourglass_start_solid
: LineIcons.hourglass_end_solid,
? LineIcons.hourglassStart
: LineIcons.hourglassEnd,
color: _reverse ? context.accentColor : null,
),
iconSize: 18,

View File

@ -138,7 +138,7 @@ class _PodcastManageState extends State<PodcastManage>
]),
alignment: Alignment.center,
child: _fraction > 0.5
? Icon(LineIcons.save_solid, color: Colors.white)
? Icon(LineIcons.save, color: Colors.white)
: AnimatedIcon(
color: Colors.white,
icon: AnimatedIcons.menu_close,

View File

@ -313,7 +313,7 @@ class _DataBackupState extends State<DataBackup> {
MaterialPageRoute(
builder: (context) => _GpodderInfo()));
},
icon: Icon(LineIcons.info_circle_solid),
icon: Icon(LineIcons.infoCircle),
),
subtitle: FutureBuilder<List<int>>(
future: _getSyncStatus(),
@ -499,7 +499,7 @@ class _DataBackupState extends State<DataBackup> {
mainAxisSize: MainAxisSize.min,
children: [
Icon(
LineIcons.paperclip_solid,
LineIcons.paperclip,
size: context.textTheme.headline6.fontSize,
color: Colors.red[700],
),

View File

@ -220,10 +220,10 @@ class _DownloadsManageState extends State<DownloadsManage> {
Icon(
_mode == 0
? LineIcons
.hourglass_start_solid
.hourglassStart
: _mode == 1
? LineIcons
.hourglass_half_solid
.hourglassHalf
: LineIcons.save,
size: 18,
)
@ -408,7 +408,7 @@ class _DownloadsManageState extends State<DownloadsManage> {
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: <Widget>[
Icon(
LineIcons.trash_alt_solid,
LineIcons.alternateTrash,
color: Colors.white,
),
Text('${sumSelected() ~/ 1000000}Mb',

View File

@ -359,7 +359,7 @@ class _PlayedHistoryState extends State<PlayedHistory>
child: IconButton(
tooltip: s.recoverSubscribe,
icon: Icon(LineIcons
.trash_restore_alt_solid),
.alternativeTrashRestore),
onPressed: () => recoverSub(
context,
snapshot.data[index].rssUrl),

View File

@ -165,7 +165,7 @@ class _PopupMenuSettingState extends State<PopupMenuSetting> {
case 0:
return _popupMenuItem(menu, e,
icon: Icon(
LineIcons.play_circle_solid,
LineIcons.playCircle,
color: context.accentColor,
),
text: s.play,
@ -174,7 +174,7 @@ class _PopupMenuSettingState extends State<PopupMenuSetting> {
case 1:
return _popupMenuItem(menu, e,
icon: Icon(
LineIcons.clock_solid,
LineIcons.clock,
color: Colors.cyan,
),
text: s.later,
@ -203,7 +203,7 @@ class _PopupMenuSettingState extends State<PopupMenuSetting> {
case 4:
return _popupMenuItem(menu, e,
icon: Icon(
LineIcons.download_solid,
LineIcons.download,
color: Colors.green,
),
text: s.download,
@ -212,7 +212,7 @@ class _PopupMenuSettingState extends State<PopupMenuSetting> {
case 5:
return _popupMenuItem(menu, e,
icon: Icon(
LineIcons.bolt_solid,
LineIcons.lightningBolt,
color: Colors.amber,
),
text: s.playNext,

View File

@ -108,7 +108,7 @@ class _SettingsState extends State<Settings> {
MaterialPageRoute(builder: (context) => ThemeSetting())),
contentPadding: EdgeInsets.symmetric(horizontal: 25.0),
leading:
Icon(LineIcons.adjust_solid, color: context.accentColor),
Icon(LineIcons.adjust, color: context.accentColor),
title: Text(s.settingsAppearance),
subtitle: Text(s.settingsAppearanceDes),
),
@ -117,7 +117,7 @@ class _SettingsState extends State<Settings> {
onTap: () => Navigator.push(context,
MaterialPageRoute(builder: (context) => LayoutSetting())),
contentPadding: EdgeInsets.symmetric(horizontal: 25.0),
leading: Icon(LineIcons.stop_circle_solid,
leading: Icon(LineIcons.stopCircle,
color: Colors.blueAccent),
title: Text(s.settingsLayout),
subtitle: Text(s.settingsLayoutDes),
@ -127,7 +127,7 @@ class _SettingsState extends State<Settings> {
onTap: () => Navigator.push(context,
MaterialPageRoute(builder: (context) => PlaySetting())),
contentPadding: EdgeInsets.symmetric(horizontal: 25.0),
leading: Icon(LineIcons.play_circle, color: Colors.redAccent),
leading: Icon(LineIcons.playCircle, color: Colors.redAccent),
title: Text(s.play),
subtitle: Text(s.settingsPlayDes),
),
@ -138,7 +138,7 @@ class _SettingsState extends State<Settings> {
MaterialPageRoute(
builder: (context) => SyncingSetting())),
contentPadding: EdgeInsets.symmetric(horizontal: 25.0),
leading: Icon(LineIcons.cloud_download_alt_solid,
leading: Icon(LineIcons.alternateCloudDownload,
color: Colors.yellow[700]),
title: Text(s.settingsSyncing),
subtitle: Text(s.settingsSyncingDes)),
@ -168,7 +168,7 @@ class _SettingsState extends State<Settings> {
title: s.settingsLanguages, child: LanguagesSetting())
.then((value) => setState(() {})),
contentPadding: EdgeInsets.symmetric(horizontal: 25.0),
leading: Icon(LineIcons.language_solid,
leading: Icon(LineIcons.language,
color: Colors.purpleAccent),
title: Text(s.settingsLanguages),
subtitle: Text(s.settingsLanguagesDes),
@ -181,7 +181,7 @@ class _SettingsState extends State<Settings> {
MaterialPageRoute(builder: (context) => DataBackup()));
},
contentPadding: EdgeInsets.symmetric(horizontal: 25.0),
leading: Icon(LineIcons.file_code_solid,
leading: Icon(LineIcons.codeFile,
color: Colors.lightGreen[700]),
title: Text(s.settingsBackup),
subtitle: Text(s.settingsBackupDes),
@ -204,7 +204,7 @@ class _SettingsState extends State<Settings> {
onTap: () => Navigator.push(context,
MaterialPageRoute(builder: (context) => Libries())),
contentPadding: EdgeInsets.symmetric(horizontal: 25.0),
leading: Icon(LineIcons.book_open_solid,
leading: Icon(LineIcons.bookOpen,
color: Colors.purple[700]),
title: Text(s.settingsLibraries),
subtitle: Text(s.settingsLibrariesDes),
@ -223,16 +223,16 @@ class _SettingsState extends State<Settings> {
_feedbackItem(LineIcons.telegram, s.feedbackTelegram,
'https://t.me/joinchat/Bk3LkRpTHy40QYC78PK7Qg'),
_feedbackItem(
LineIcons.envelope_open_text_solid,
LineIcons.envelopeOpenText,
s.feedbackEmail,
'mailto:<tsacdop.app@gmail.com>?subject=Tsacdop Feedback'),
_feedbackItem(LineIcons.google_play, s.feedbackPlay,
_feedbackItem(LineIcons.googlePlay, s.feedbackPlay,
'https://play.google.com/store/apps/details?id=com.stonegate.tsacdop'),
],
),
),
contentPadding: EdgeInsets.symmetric(horizontal: 25.0),
leading: Icon(LineIcons.bug_solid, color: Colors.pink[700]),
leading: Icon(LineIcons.bug, color: Colors.pink[700]),
title: Text(s.settingsFeedback),
subtitle: Text(s.settingsFeedbackDes),
),
@ -258,7 +258,7 @@ class _SettingsState extends State<Settings> {
},
contentPadding: EdgeInsets.symmetric(horizontal: 25.0),
leading:
Icon(LineIcons.capsules_solid, color: Colors.pinkAccent),
Icon(LineIcons.capsules, color: Colors.pinkAccent),
title: Text(s.settingsDiscovery),
),
Divider(height: 1),
@ -270,7 +270,7 @@ class _SettingsState extends State<Settings> {
SlideIntro(goto: Goto.settings))),
contentPadding: EdgeInsets.symmetric(horizontal: 25.0),
leading:
Icon(LineIcons.columns_solid, color: Colors.blueGrey),
Icon(LineIcons.columns, color: Colors.blueGrey),
title: Text(s.settingsAppIntro),
),
Divider(height: 1),

View File

@ -56,7 +56,7 @@ class _DismissibleContainerState extends State<DismissibleContainer> {
padding: EdgeInsets.all(5),
alignment: Alignment.center,
child: Icon(
LineIcons.trash_alt_solid,
LineIcons.alternateTrash,
color: Colors.white,
size: 15,
),
@ -67,7 +67,7 @@ class _DismissibleContainerState extends State<DismissibleContainer> {
padding: EdgeInsets.all(5),
alignment: Alignment.center,
child: Icon(
LineIcons.trash_alt_solid,
LineIcons.alternateTrash,
color: Colors.white,
size: 15,
),

View File

@ -661,7 +661,7 @@ class EpisodeGrid extends StatelessWidget {
? s.play
: s.playing),
trailingIcon: Icon(
LineIcons.play_circle_solid,
LineIcons.playCircle,
color: Theme.of(context).accentColor,
),
onPressed: () {
@ -681,7 +681,7 @@ class EpisodeGrid extends StatelessWidget {
? Text(s.remove)
: Text(s.later),
trailingIcon: Icon(
LineIcons.clock_solid,
LineIcons.clock,
color: Colors.cyan,
),
onPressed: () {
@ -788,7 +788,7 @@ class EpisodeGrid extends StatelessWidget {
.withOpacity(0.5)))
: Text(s.download),
trailingIcon: Icon(
LineIcons.download_solid,
LineIcons.download,
color: Colors.green),
onPressed: () async {
if (!isDownloaded) {
@ -804,7 +804,7 @@ class EpisodeGrid extends StatelessWidget {
: context.dialogBackgroundColor,
title: Text(s.playNext),
trailingIcon: Icon(
LineIcons.bolt_solid,
LineIcons.lightningBolt,
color: Colors.amber,
),
onPressed: () {