mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-25 07:46:02 +00:00
Improve iOS UI
This commit is contained in:
1 parent
f5ca60a0ad
commit
65a0ab3226
3 files changed
+8
-9
No files matched your search
@@ -52,7 +52,7 @@
|
|||||||
"location" : "https://github.com/leonboe1/LUI.git",
|
"location" : "https://github.com/leonboe1/LUI.git",
|
||||||
"state" : {
|
"state" : {
|
||||||
"branch" : "main",
|
"branch" : "main",
|
||||||
"revision" : "de1c4e4f1b21755679b83947e1242e3bb591fd4b"
|
"revision" : "2ed03cd8ffdd33735673b956568ca325bccda04d"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -32,8 +32,8 @@
|
|||||||
</TestAction>
|
</TestAction>
|
||||||
<LaunchAction
|
<LaunchAction
|
||||||
buildConfiguration = "Debug"
|
buildConfiguration = "Debug"
|
||||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
selectedDebuggerIdentifier = ""
|
||||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn"
|
||||||
launchStyle = "0"
|
launchStyle = "0"
|
||||||
useCustomWorkingDirectory = "NO"
|
useCustomWorkingDirectory = "NO"
|
||||||
ignoresPersistentStateOnLaunch = "NO"
|
ignoresPersistentStateOnLaunch = "NO"
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ struct DeviceListView: View {
|
|||||||
|
|
||||||
let showsLoadingIndicator = nearbyConnectionManager.hasLocalNetworkPermission && nearbyConnectionManager.isConnectedToLocalNetwork
|
let showsLoadingIndicator = nearbyConnectionManager.hasLocalNetworkPermission && nearbyConnectionManager.isConnectedToLocalNetwork
|
||||||
|
|
||||||
BottomBarView(header: "QuickDrop", navigationBarLayout: isShareExtension() ? .SmallOnlyAlways : .Default, bottomViewHeight: 30) {
|
BottomBarView(header: "QuickDrop", ignoresKeyboard: true, navigationBarLayout: isShareExtension() ? .SmallOnlyAlways : .Default, bottomViewHeight: 30) {
|
||||||
VStack {
|
VStack {
|
||||||
|
|
||||||
let attachments = nearbyConnectionManager.attachments
|
let attachments = nearbyConnectionManager.attachments
|
||||||
@@ -288,11 +288,10 @@ struct DeviceButtonLabel: View {
|
|||||||
.fontWeight(.bold)
|
.fontWeight(.bold)
|
||||||
}
|
}
|
||||||
|
|
||||||
VStack(alignment: .leading, spacing: 5) {
|
VStack(alignment: .leading, spacing: 2) {
|
||||||
HStack(spacing: 5) {
|
HStack(spacing: 5) {
|
||||||
Text(name)
|
Text(name)
|
||||||
.fontWeight(.medium)
|
.foregroundColor(.mainColor)
|
||||||
.foregroundColor(Color.primary)
|
|
||||||
|
|
||||||
if device.isQuickDropPeer {
|
if device.isQuickDropPeer {
|
||||||
Image(.menuBarIcon)
|
Image(.menuBarIcon)
|
||||||
@@ -306,8 +305,8 @@ struct DeviceButtonLabel: View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Text(isSelected ? progress ?? "..." : "Available".localized())
|
Text(isSelected ? progress ?? "..." : "Available".localized())
|
||||||
.font(.system(size: 12))
|
.foregroundColor(.mainColor.opacity(0.6))
|
||||||
.foregroundColor(Color.primary.opacity(0.6))
|
.monospacedDigit()
|
||||||
}
|
}
|
||||||
|
|
||||||
Spacer()
|
Spacer()
|
||||||
|
|||||||
Reference in new issue
Block a user