Skip to content

Commit

Permalink
fix crash
Browse files Browse the repository at this point in the history
  • Loading branch information
skiptomyliu committed Aug 28, 2022
1 parent e03fa0c commit d0aedf9
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
Binary file modified App/Milkshake.dmg
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@
endingColumnNumber = "9223372036854775807"
startingLineNumber = "52"
endingLineNumber = "52"
landmarkName = "actionSelectedCell(sender:)"
landmarkType = "7">
landmarkName = "unknown"
landmarkType = "0">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
Expand Down
4 changes: 2 additions & 2 deletions Milkshake/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.3.0</string>
<string>1.3.1</string>
<key>CFBundleVersion</key>
<string>41</string>
<string>42</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.music</string>
<key>LSMinimumSystemVersion</key>
Expand Down
4 changes: 2 additions & 2 deletions Milkshake/MainViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ class MainViewController: NSViewController {
let cell = rvc.searchTableView.view(atColumn: 0, row: i, makeIfNecessary: false) as! SearchTableCellView
if (
// skip shuffle banner
!cell.item.isShuffle! && (
!(cell.item.isShuffle ?? false) && (
// check song
cell.item.pandoraId == music.curPlayingItem.pandoraId ||
// check station
Expand Down Expand Up @@ -537,7 +537,7 @@ extension MainViewController: CellSelectedProtocol {
}
}
else if type == MusicType.SHUFFLESTATION {
if item.isShuffle! {
if item.isShuffle ?? false {
if !self.appDelegate.radio.isShuffle {
self.appDelegate.api.shuffleStation(stationsIds: [], callbackHandler: callbackShuffle)
}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Milkshake is a Mac OS X [Pandora](https://www.pandora.com) client.

If you don't have a Pandora account, you can [sign up here](https://www.pandora.com/account/register)

# Download v1.3.0
# Download v1.3.1
[💾 DMG Installer](https://github.com/skiptomyliu/milkshake/raw/master/App/Milkshake.dmg)


Expand Down

0 comments on commit d0aedf9

Please sign in to comment.