Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Zomatree committed Sep 25, 2024
1 parent 98714ab commit 665bd1f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Revolt/Components/MessageRenderer/MessageView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ struct MessageView: View {
server: viewModel.server,
channel: viewModel.channel
)
.padding(.leading, 42)
.padding(.leading, 48)
}
}
}
Expand Down Expand Up @@ -117,7 +117,7 @@ struct MessageView: View {
HStack(alignment: .top) {
pfpView(size: .regular)
.padding(.top, 2)
.padding(.trailing, 12)
.padding(.trailing, 8)

VStack(alignment: .leading, spacing: 0) {
HStack {
Expand Down
5 changes: 3 additions & 2 deletions Revolt/Pages/Channel/Messagable/MessageableChannel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ struct MessageableChannelView: View {
.id(message.message.id)
}
.animation(.easeInOut, value: highlighted)
.padding(.leading, 44)
.padding(.leading, 48)
.listRowSeparator(.hidden)
.listRowInsets(EdgeInsets(top: 0, leading: 12, bottom: 0, trailing: 12))

Expand Down Expand Up @@ -366,7 +366,8 @@ struct MessageableChannelView: View {
}
}
.environment(\.defaultMinListRowHeight, 0)
.scrollDismissesKeyboard(.immediately)
.simultaneousGesture(TapGesture().onEnded { focused = false })
// .scrollDismissesKeyboard(.immediately)
}
}

Expand Down
1 change: 1 addition & 0 deletions Revolt/Revolt.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<key>com.apple.developer.associated-domains</key>
<array>
<string>applinks:revolt.chat</string>
<string>applinks:rvlt.gg</string>
</array>
<key>com.apple.developer.push-to-talk</key>
<true/>
Expand Down
File renamed without changes.
4 changes: 0 additions & 4 deletions t.py

This file was deleted.

0 comments on commit 665bd1f

Please sign in to comment.