mirror of
https://github.com/git-touch/git-touch
synced 2024-12-15 01:45:05 +01:00
fix(github): actor link
This commit is contained in:
parent
53897f6fb3
commit
ee03b52461
@ -79,10 +79,6 @@ TextSpan createLinkSpan(
|
||||
);
|
||||
}
|
||||
|
||||
TextSpan createUserSpan(BuildContext context, String login) {
|
||||
return createLinkSpan(context, login, '/$login');
|
||||
}
|
||||
|
||||
Tuple2<String, String> parseRepositoryFullName(String fullName) {
|
||||
final ls = fullName.split('/');
|
||||
assert(ls.length == 2);
|
||||
|
@ -1,5 +1,4 @@
|
||||
import 'dart:core';
|
||||
import 'dart:developer';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:git_touch/models/theme.dart';
|
||||
@ -8,6 +7,10 @@ import 'package:provider/provider.dart';
|
||||
import '../utils/utils.dart';
|
||||
import 'comment_item.dart';
|
||||
|
||||
TextSpan createUserSpan(BuildContext context, String login) {
|
||||
return createLinkSpan(context, login, '/github/$login');
|
||||
}
|
||||
|
||||
class TimelineEventItem extends StatelessWidget {
|
||||
final String actor;
|
||||
final IconData iconData;
|
||||
|
Loading…
Reference in New Issue
Block a user