updated assets
This commit is contained in:
parent
c8b5caba60
commit
092415e3a9
|
@ -69,7 +69,7 @@ struct AddFeedWranglerAccountView: View {
|
|||
}, label: {
|
||||
HStack {
|
||||
Spacer()
|
||||
Text("Sign In")
|
||||
Text("Add Account")
|
||||
Spacer()
|
||||
}
|
||||
}).disabled(model.username.isEmpty || model.password.isEmpty)
|
||||
|
|
|
@ -65,7 +65,11 @@ struct AddFeedbinAccountView: View {
|
|||
Button(action: {
|
||||
model.authenticateFeedbin()
|
||||
}, label: {
|
||||
Text("Sign In")
|
||||
HStack {
|
||||
Spacer()
|
||||
Text("Add Account")
|
||||
Spacer()
|
||||
}
|
||||
}).disabled(model.username.isEmpty || model.password.isEmpty)
|
||||
})
|
||||
|
||||
|
|
|
@ -24,8 +24,6 @@ struct AddFeedlyAccountView: View {
|
|||
NavigationView {
|
||||
iosBody
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ struct AddNewsBlurAccountView: View {
|
|||
}, label: {
|
||||
HStack {
|
||||
Spacer()
|
||||
Text("Sign In")
|
||||
Text("Add Account")
|
||||
Spacer()
|
||||
}
|
||||
}).disabled(model.username.isEmpty || model.password.isEmpty)
|
||||
|
|
|
@ -71,7 +71,7 @@ struct AddReaderAPIAccountView: View {
|
|||
}, label: {
|
||||
HStack {
|
||||
Spacer()
|
||||
Text("Sign In")
|
||||
Text("Add Account")
|
||||
Spacer()
|
||||
}
|
||||
}).disabled(createDisabled())
|
||||
|
|
|
@ -1,7 +1,17 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"filename" : "ipad.pdf",
|
||||
"filename" : "ipad-any-slice.pdf",
|
||||
"idiom" : "universal"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "ipad-dark-slice.pdf",
|
||||
"idiom" : "universal"
|
||||
}
|
||||
],
|
||||
|
@ -11,6 +21,6 @@
|
|||
},
|
||||
"properties" : {
|
||||
"preserves-vector-representation" : true,
|
||||
"template-rendering-intent" : "template"
|
||||
"template-rendering-intent" : "original"
|
||||
}
|
||||
}
|
||||
|
|
BIN
Multiplatform/Shared/Assets.xcassets/AccountLocalPad.imageset/ipad-any-slice.pdf
vendored
Normal file
BIN
Multiplatform/Shared/Assets.xcassets/AccountLocalPad.imageset/ipad-any-slice.pdf
vendored
Normal file
Binary file not shown.
BIN
Multiplatform/Shared/Assets.xcassets/AccountLocalPad.imageset/ipad-dark-slice.pdf
vendored
Normal file
BIN
Multiplatform/Shared/Assets.xcassets/AccountLocalPad.imageset/ipad-dark-slice.pdf
vendored
Normal file
Binary file not shown.
Binary file not shown.
|
@ -1,7 +1,17 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"filename" : "phone.pdf",
|
||||
"filename" : "iphone-any-slice.pdf",
|
||||
"idiom" : "universal"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "iphone-dark-slice.pdf",
|
||||
"idiom" : "universal"
|
||||
}
|
||||
],
|
||||
|
@ -11,6 +21,6 @@
|
|||
},
|
||||
"properties" : {
|
||||
"preserves-vector-representation" : true,
|
||||
"template-rendering-intent" : "template"
|
||||
"template-rendering-intent" : "original"
|
||||
}
|
||||
}
|
||||
|
|
BIN
Multiplatform/Shared/Assets.xcassets/AccountLocalPhone.imageset/iphone-any-slice.pdf
vendored
Normal file
BIN
Multiplatform/Shared/Assets.xcassets/AccountLocalPhone.imageset/iphone-any-slice.pdf
vendored
Normal file
Binary file not shown.
BIN
Multiplatform/Shared/Assets.xcassets/AccountLocalPhone.imageset/iphone-dark-slice.pdf
vendored
Normal file
BIN
Multiplatform/Shared/Assets.xcassets/AccountLocalPhone.imageset/iphone-dark-slice.pdf
vendored
Normal file
Binary file not shown.
Binary file not shown.
|
@ -60,9 +60,15 @@ extension AccountType {
|
|||
switch self {
|
||||
case .onMyMac:
|
||||
// If it's the multiplatform app, the asset catalog contains assets for
|
||||
|
||||
|
||||
#if os(macOS)
|
||||
return Image("accountLocal")
|
||||
#else
|
||||
if UIDevice.current.userInterfaceIdiom == .pad {
|
||||
return Image("accountLocalPad")
|
||||
} else {
|
||||
return Image("accountLocalPhone")
|
||||
}
|
||||
#endif
|
||||
case .bazQux:
|
||||
return Image("accountBazQux")
|
||||
case .cloudKit:
|
||||
|
|
Loading…
Reference in New Issue