Add screenshot

This commit is contained in:
Akring 2021-04-20 00:03:57 +08:00
parent 02509206ec
commit a09ee7cde5
6 changed files with 6 additions and 1 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

View File

@ -1,2 +1,4 @@
# FontFace
Font previewer for macOS
![main](./screenshots/main.jpg)

View File

@ -22,8 +22,10 @@ struct CharacterGraidView: View {
]
var body: some View {
let list = FontProvider.shared.fetchCharacterList(familyName: selectedFontFamily)
ZStack(alignment: .top) {
let list = FontProvider.shared.fetchCharacterList(familyName: selectedFontFamily)
if list.isEmpty {
Text("Select a font to preview")
@ -49,6 +51,7 @@ struct CharacterGraidView: View {
}
}
}
.navigationTitle(list.isEmpty ? "FontFace" : selectedFontName)
}
func empty() -> Bool {

BIN
screenshots/.DS_Store vendored Normal file

Binary file not shown.

BIN
screenshots/main.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 KiB