Skip to content

Commit

Permalink
Merge pull request #189 from tatsuz0u/develop
Browse files Browse the repository at this point in the history
Bugfix
  • Loading branch information
tatsuz0u committed Dec 5, 2021
2 parents a89561e + 46ffd86 commit 79ec777
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
types: [closed]
env:
DEVELOPER_DIR: /Applications/Xcode_13.1.app
APP_VERSION: '1.5.2'
APP_VERSION: '1.5.3'
SCHEME_NAME: 'EhPanda'
ALTSTORE_JSON_PATH: './AltStore.json'
BUILDS_PATH: '/tmp/action-builds'
Expand Down
14 changes: 0 additions & 14 deletions EhPanda/App/ViewModifiers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -158,17 +158,3 @@ struct PreviewResolver {
))
}
}

extension ScrollView {
func swipeBackable() -> some View {
ZStack {
self
HStack {
Color(.systemGray6)
.opacity(0.01)
.frame(width: 40)
Spacer()
}
}
}
}
2 changes: 1 addition & 1 deletion EhPanda/App/zh-Hans.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@
"Male" = "男性";
"Female" = "女性";
"Mixed" = "混合性别";
"Cosplayer" = "角色扮演者";
"Cosplayer" = "扮装者";
"Other" = "其它";
"Temp" = "临时";

Expand Down
4 changes: 1 addition & 3 deletions EhPanda/View/Detail/DetailView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ private struct DescScrollView: View {
.withHorizontalSpacing()
}
}
.swipeBackable().frame(height: 60)
.frame(height: 60)
.onReceive(AppNotification.appWidthDidChange.publisher, perform: tryResetItemWidth)
}

Expand Down Expand Up @@ -691,7 +691,6 @@ private struct PreviewView: View {
.withHorizontalSpacing(height: height)
}
}
.swipeBackable()
}
}
}
Expand Down Expand Up @@ -814,7 +813,6 @@ private struct CommentScrollView: View {
}
.drawingGroup()
}
.swipeBackable()
CommentButton(action: toggleCommentAction).padding(.horizontal)
.disabled(!AuthorizationUtil.didLogin)
}
Expand Down
2 changes: 1 addition & 1 deletion EhPanda/View/Setting/EhSettingView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ private struct EhProfileSection: View {
"Are you sure to delete this profile?", isPresented: $dialogPresented, titleVisibility: .visible
) {
Button("Delete", role: .destructive) {
performEhProfileAction(.default, nil, selection.value)
performEhProfileAction(.delete, nil, selection.value)
}
}
.onChange(of: selection) {
Expand Down

0 comments on commit 79ec777

Please sign in to comment.