Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
enzevalos_iphone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
enzevalos
enzevalos_iphone
Commits
ff9f899e
Commit
ff9f899e
authored
4 years ago
by
cruxfilm
Browse files
Options
Downloads
Patches
Plain Diff
Ready to merge?
parent
c02a3995
No related branches found
No related tags found
1 merge request
!81
Resolve "Add Pull to Refresh to MailListView" & Redesign ContactView
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
enzevalos_iphone/SwiftUI/Inbox/MailRowView.swift
+1
-17
1 addition, 17 deletions
enzevalos_iphone/SwiftUI/Inbox/MailRowView.swift
with
1 addition
and
17 deletions
enzevalos_iphone/SwiftUI/Inbox/MailRowView.swift
+
1
−
17
View file @
ff9f899e
...
...
@@ -52,6 +52,7 @@ struct MailRowView <M: DisplayMail>: View {
.
frame
(
height
:
65
)
}
private
var
avatar
:
some
View
{
mail
.
sender
.
avatar
.
resizable
()
...
...
@@ -61,22 +62,6 @@ struct MailRowView <M: DisplayMail>: View {
}
}
struct
MailRow_Previews
:
PreviewProvider
{
static
var
previews
:
some
View
{
MailRowView
(
mail
:
ProxyData
.
PlainMail
)
.
previewLayout
(
.
sizeThatFits
)
=======
.
if
(
activateOnTap
,
input
:
{
$0
.
onTapGesture
(
count
:
1
,
perform
:
{
isLinkActive
=
true
})
.
background
(
NavigationLink
(
destination
:
ContactView
(
contact
:
mail
.
sender
),
isActive
:
$isLinkActive
)
{
EmptyView
()
}
.
hidden
()
)})
}
}
// A conditional view modifier
extension
View
{
@ViewBuilder
...
...
@@ -92,6 +77,5 @@ extension View {
struct
MailRowView_Previews
:
PreviewProvider
{
static
var
previews
:
some
View
{
MailRowView
(
mail
:
ProxyData
.
PlainMail
)
>>>>>>>
290
+
Dev
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment