Skip to content

Commit

Permalink
fix: add license link to footer [MDS-1279] (#435)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkireev authored Aug 8, 2024
1 parent 6581ac8 commit deaa1a0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion example/lib/src/storybook/common/social_media_options.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ enum SocialMedia {
medium,
linkedIn,
gitHub,
figma;
figma,
license;

String get name {
final String rawName = toString().split('.').last;
Expand All @@ -18,6 +19,8 @@ enum SocialMedia {
gitHub => 'https://github.com/coingaming/moon_flutter',
figma =>
'https://www.figma.com/community/file/1002945721703152933/moon-design-system',
license =>
'https://github.com/coingaming/moon_flutter/blob/main/LICENSE',
};

String get buttonIconPath => switch (this) {
Expand Down

0 comments on commit deaa1a0

Please sign in to comment.