Skip to content

Commit

Permalink
fix: 删除萌百提示框,打包1.4.8
Browse files Browse the repository at this point in the history
  • Loading branch information
zhushenwudi committed Feb 22, 2024
1 parent 0a848a5 commit 7297083
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 29 deletions.
2 changes: 0 additions & 2 deletions lib/i10n/de.dart
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,6 @@ const Map<String, String> deDE = {
'confirm_to_delete_music':
'Möchten Sie den ausgewählten Song wirklich aus „Meine Favoriten“ löschen?',
'share': 'Aktie',
'search_at_moe': 'Auf MoeGirl suchen?',
'moe_address_error': 'Einige Adressen können Fehler enthalten',
'skip': 'überspringen',
'net_error': 'Netzwerkfehler',
'hint': 'Tipp.',
Expand Down
2 changes: 0 additions & 2 deletions lib/i10n/en.dart
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,6 @@ const Map<String, String> enUS = {
'confirm_to_delete_music':
'Are you sure you want to delete the selected song from My Likes?',
'share': 'Share',
'search_at_moe': 'Search on MoeGirl?',
'moe_address_error': 'Some addresses may contain errors',
'skip': 'Skip',
'net_error': 'Network error',
'hint': 'Hint',
Expand Down
2 changes: 0 additions & 2 deletions lib/i10n/zh.dart
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,6 @@ const Map<String, String> zhCN = {
'cancel_i_like': '取消我喜欢',
'confirm_to_delete_music': '确认要从我喜欢删除所选歌曲?',
'share': '分享',
'search_at_moe': '是否在萌娘百科搜索?',
'moe_address_error': '部分地址可能存在错误',
'skip': '跳过',
'net_error': '网络错误',
'hint': '提示',
Expand Down
10 changes: 1 addition & 9 deletions lib/pages/home/widget/dialog_more_with_music.dart
Original file line number Diff line number Diff line change
Expand Up @@ -147,15 +147,7 @@ class _DialogMoreWithMusicState extends State<DialogMoreWithMusic> {
Widget renderSearchInMoeGirl() {
return _buildItem(Assets.drawerDrawerInspect, 'search_in_moe_girl'.tr, () {
SmartDialog.compatible.dismiss();
AppUtils.vibrate();
SmartDialog.compatible.show(
widget: TwoButtonDialog(
title: "search_at_moe".tr,
msg: "moe_address_error".tr,
onConfirmListener: () {
Get.toNamed(Routes.routeMoeGirl, arguments: widget.music.musicName!);
},
));
Get.toNamed(Routes.routeMoeGirl, arguments: widget.music.musicName!);
});
}

Expand Down
15 changes: 1 addition & 14 deletions lib/widgets/listview_item_song.dart
Original file line number Diff line number Diff line change
Expand Up @@ -92,20 +92,7 @@ class _ListViewItemSongState extends State<ListViewItemSong> {
setState(() {});
}

onLongPress() async {
// if (!SDUtils.allowEULA) {
// return;
// }
// AppUtils.vibrate();
// SmartDialog.compatible.show(
// widget: TwoButtonDialog(
// title: "search_at_moe".tr,
// msg: "moe_address_error".tr,
// onConfirmListener: () {
// Get.toNamed(Routes.routeMoeGirl, arguments: widget.music.musicName!);
// },
// ));
}
onLongPress() async {}

///缩列图
Widget _buildIcon() {
Expand Down

0 comments on commit 7297083

Please sign in to comment.