mirror of
https://github.com/kiwix/kiwix-apple.git
synced 2025-09-28 14:35:03 -04:00
Fixlint
This commit is contained in:
parent
10df30b634
commit
8c2032bc8d
@ -80,8 +80,11 @@ struct BookmarkButton: View {
|
|||||||
}
|
}
|
||||||
} label: {
|
} label: {
|
||||||
Label {
|
Label {
|
||||||
Text(browser.articleBookmarked ?
|
Text(
|
||||||
"common.dialog.button.remove_bookmark".localized : "common.dialog.button.add_bookmark".localized)
|
browser.articleBookmarked ?
|
||||||
|
"common.dialog.button.remove_bookmark".localized :
|
||||||
|
"common.dialog.button.add_bookmark".localized
|
||||||
|
)
|
||||||
} icon: {
|
} icon: {
|
||||||
Image(systemName: browser.articleBookmarked ? "star.fill" : "star")
|
Image(systemName: browser.articleBookmarked ? "star.fill" : "star")
|
||||||
.renderingMode(browser.articleBookmarked ? .original : .template)
|
.renderingMode(browser.articleBookmarked ? .original : .template)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user