From da3234e3e4926529961ee6f13e0aad7b3674e08d Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Tue, 18 Jan 2022 14:44:19 -0800 Subject: [PATCH] Formatting --- lib/licenses.dart | 3 +-- lib/third_party/linkify/linkify.dart | 2 -- lib/third_party/linkify/uri.dart | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/licenses.dart b/lib/licenses.dart index cc4194c8..057f5c80 100644 --- a/lib/licenses.dart +++ b/lib/licenses.dart @@ -117,8 +117,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.'''); yield LicenseEntryWithLineBreaks(["flaticons"], "Icons made by Freepik (https://www.freepik.com) from Flaticon (www.flaticon.com)"); - yield LicenseEntryWithLineBreaks(["flutter_linkify", "linkify"], - '''MIT License + yield LicenseEntryWithLineBreaks(["flutter_linkify", "linkify"], '''MIT License Copyright (c) 2019/2020 Charles-William Crete diff --git a/lib/third_party/linkify/linkify.dart b/lib/third_party/linkify/linkify.dart index 9bde6bdd..d4355313 100644 --- a/lib/third_party/linkify/linkify.dart +++ b/lib/third_party/linkify/linkify.dart @@ -23,11 +23,9 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. - import 'uri.dart'; export 'uri.dart' show UrlLinkifier, UrlElement; - abstract class LinkifyElement { final String text; diff --git a/lib/third_party/linkify/uri.dart b/lib/third_party/linkify/uri.dart index 8d0e2874..4220794c 100644 --- a/lib/third_party/linkify/uri.dart +++ b/lib/third_party/linkify/uri.dart @@ -78,7 +78,7 @@ class UrlLinkifier extends Linkifier { // If protocol has not been specified then append a protocol // to the start of the URL so that it can be opened... if (!url.startsWith("https://") && !url.startsWith("http://")) { - url = "https://"+url; + url = "https://" + url; } list.add(UrlElement(url, originalUrl));