Skip to content

Commit

Permalink
Merge pull request #298 from Darock-Studio/fix/watch
Browse files Browse the repository at this point in the history
fixed compiling issue about watchOS
  • Loading branch information
WindowsMEMZ authored Mar 3, 2024
2 parents efb7e37 + 0e7de78 commit da3690c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions DarockBili.dynamic/AppMain.swift
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,11 @@ struct AppMainView: View {
}

if !isFirstOpen {
#if !os(watchOS)
Mixpanel.initialize(token: "37d4aaecc64cae16353c2fe7dbb0513c", trackAutomaticEvents: false)
#else
Mixpanel.initialize(token: "37d4aaecc64cae16353c2fe7dbb0513c")
#endif
// ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Wow you see a token there, I'm not forget to hide it because you are no able to
// do anything important by this token >_-
Expand Down

0 comments on commit da3690c

Please sign in to comment.