Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
enzevalos
enzevalos_iphone
Commits
749cf9ce
Commit
749cf9ce
authored
Jun 10, 2021
by
hannes
Browse files
decreased padding to somewhat tackle
#310
parent
5ae40170
Changes
2
Hide whitespace changes
Inline
Side-by-side
enzevalos_iphone/StudySettings.swift
View file @
749cf9ce
...
...
@@ -54,7 +54,8 @@ class StudySettings {
static
var
invitationsmode
:
Inviation
=
Inviation
.
load
()
as!
Inviation
/// whether to show a normal inbox (false) or a (currently slightly buggy) categorized interface (true)
static
var
showCategorizedInterface
=
false
static
var
showCategorizedInterface
=
false
//|| true
static
var
categorizedInterface_flat
=
false
||
true
static
var
useAvatars
=
true
public
static
var
invitationEnabled
:
Bool
{
...
...
enzevalos_iphone/SwiftUI/Inbox/categorized/Helpers/UI/CategoryViewInner.swift
View file @
749cf9ce
...
...
@@ -34,7 +34,7 @@ struct CategoryViewInner<Content:View>: View {
isOpen
:
category
.
isActive
){
content
()
}
.
padding
(
.
horizontal
,
15
)
.
padding
(
.
top
,
10
)
}
.
padding
(
.
horizontal
,
7
)
.
padding
(
.
top
,
StudySettings
.
categorizedInterface_flat
?
5
:
10
)
.
animation
(
.
easeInOut
)
}
}
...
...
@@ -93,7 +93,10 @@ struct NavigatorCard<Content:View> : View {
var
body
:
some
View
{
if
_size
!=
nil
&&
isResizable
{
DragResizableCard
(
shadowElevation
:
15
,
padding
:
0
,
height
:
size
){
DragResizableCard
(
shadowElevation
:
StudySettings
.
categorizedInterface_flat
?
0
:
15
,
effect3D
:
StudySettings
.
categorizedInterface_flat
?
0
:
5
,
padding
:
0
,
height
:
size
){
inner
.
padding
(
.
bottom
,
5
)
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment