Mayo commited on
Commit
24b3ed8
·
unverified ·
1 Parent(s): 97724ef

chore: format code

Browse files
Files changed (1) hide show
  1. koharu-app/src/google_fonts.rs +5 -1
koharu-app/src/google_fonts.rs CHANGED
@@ -74,7 +74,11 @@ impl GoogleFontService {
74
  /// Downloads a font family's regular variant to disk cache.
75
  /// Returns the path to the cached .ttf file.
76
  /// No-op if already cached.
77
- pub async fn fetch_family(&self, family: &str, http: &reqwest_middleware::ClientWithMiddleware) -> Result<Utf8PathBuf> {
 
 
 
 
78
  // Check cache first
79
  {
80
  let cached = self.cached_families.lock().await;
 
74
  /// Downloads a font family's regular variant to disk cache.
75
  /// Returns the path to the cached .ttf file.
76
  /// No-op if already cached.
77
+ pub async fn fetch_family(
78
+ &self,
79
+ family: &str,
80
+ http: &reqwest_middleware::ClientWithMiddleware,
81
+ ) -> Result<Utf8PathBuf> {
82
  // Check cache first
83
  {
84
  let cached = self.cached_families.lock().await;