Skip to content

Commit a760706

Browse files
committed
屏蔽无用打印
1 parent 0d31dca commit a760706

File tree

8 files changed

+0
-13
lines changed

8 files changed

+0
-13
lines changed

lib/common/dao/UserDao.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,6 @@ class UserDao {
223223
*/
224224
static doFollowDao(name, bool followed) async {
225225
String url = Address.doFollow(name);
226-
print(followed);
227226
var res = await HttpManager.netFetch(url, null, null, new Options(method: !followed ? "PUT" : "DELETE"), noTip: true);
228227
return new DataResult(res.data, res.result);
229228
}

lib/common/utils/CommonUtils.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ class CommonUtils {
167167
}
168168

169169
static Future<Null> showCommitOptionDialog(BuildContext context, List commitMaps, ValueChanged<int> onTap) {
170-
print(commitMaps.length);
171170
return showDialog(
172171
context: context,
173172
builder: (BuildContext context) {

lib/common/utils/HtmlUtils.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ class HtmlUtils {
2121
Iterable<Match> tags = exp.allMatches(mdData);
2222
String mdDataCode = mdData;
2323
for (Match m in tags) {
24-
print(m.group(0));
2524
String match = m.group(0).replaceAll(new RegExp("\n"), "\n\r<br>");
26-
print(match);
2725
mdDataCode = mdDataCode.replaceAll(m.group(0), match);
2826
}
2927

lib/page/CodeDetailPage.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ class _CodeDetailPageState extends State<CodeDetailPage> {
5555
@override
5656
void initState() {
5757
super.initState();
58-
print(data);
5958
if (data == null) {
6059
ReposDao.getReposFileDirDao(userName, reposName, path: path, branch: branch, text: true).then((res) {
6160
if (res != null && res.result) {

lib/page/CodeDetailPageWeb.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,7 @@ class _CodeDetailPageState extends State<CodeDetailPageWeb> {
5555
@override
5656
void initState() {
5757
super.initState();
58-
print("22222222");
5958
if (data == null) {
60-
print("333333333");
6159
ReposDao.getReposFileDirDao(userName, reposName, path: path, branch: branch, text: true, isHtml: true).then((res) {
6260
if (res != null && res.result) {
6361
String data2 = HtmlUtils.resolveHtmlFile(res, "java");

lib/page/NotifyPage.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ class _NotifyPageState extends GSYListState<NotifyPage> {
3434
if (eventMap["unread"]) {
3535
UserDao.setNotificationAsReadDao(eventMap["id"].toString());
3636
}
37-
print(eventMap["id"]);
3837
if (eventMap["subject"]["type"] == 'Issue') {
3938
String url = eventMap["subject"]["url"];
4039
List<String> tmp = url.split("/");

lib/page/RepositoryDetailPage.dart

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,6 @@ class _RepositoryDetailPageState extends State<RepositoryDetailPage> {
7171

7272
_getReposStatus() async {
7373
var result = await ReposDao.getRepositoryStatusDao(userName, reposName);
74-
if (Config.DEBUG) {
75-
print(result.data["star"]);
76-
print(result.data["watch"]);
77-
}
7874
String watchText = result.data["watch"] ? "UnWatch" : "Watch";
7975
String starText = result.data["star"] ? "UnStar" : "Star";
8076
IconData watchIcon = result.data["watch"] ? GSYICons.REPOS_ITEM_WATCHED : GSYICons.REPOS_ITEM_WATCH;

lib/widget/GSYCommonOptionWidget.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ class GSYCommonOptionWidget extends StatelessWidget {
5555
_launchURL();
5656
}),
5757
new GSYOptionModel(GSYStrings.option_copy, GSYStrings.option_copy, (model) {
58-
print("复制链接");
5958
Clipboard.setData(new ClipboardData(text: url));
6059
Fluttertoast.showToast(msg: GSYStrings.option_share_copy_success);
6160
}),

0 commit comments

Comments
 (0)