Skip to content

Commit

Permalink
perf: auto format swift code
Browse files Browse the repository at this point in the history
  • Loading branch information
tisfeng committed Feb 18, 2024
1 parent d05bc54 commit 04dae1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Easydict/Feature/Service/Gemini/GeminiService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public final class GeminiService: QueryService {
}

override public func totalFreeQueryCharacterCount() -> Int {
100000 * 1000
100_000 * 1000
}

private let defaultAPIKey = "" /* .decryptAES() */
Expand Down
2 changes: 1 addition & 1 deletion Easydict/Feature/Utility/EZAudioUtils/EZAudioUtils.m
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ + (void)isPlayingAudio:(void (^)(BOOL isPlaying))completion {
MRMediaRemoteGetNowPlayingApplicationIsPlayingFunction mrMediaRemoteGetNowPlayingApplicationIsPlaying = (MRMediaRemoteGetNowPlayingApplicationIsPlayingFunction)mrMediaRemoteGetNowPlayingApplicationIsPlayingPointer;

mrMediaRemoteGetNowPlayingApplicationIsPlaying(dispatch_get_main_queue(), ^(BOOL playing) {
// NSLog(@"isPlaying: %d", playing);
NSLog(@"isPlaying: %d", playing);
completion(playing);
});

Expand Down

0 comments on commit 04dae1d

Please sign in to comment.