Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyfreeman committed Jun 7, 2024
1 parent c01dc7a commit 86606b3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ struct DeviceUpdateCard: View {
updateModel.updateAvailableFirmware()
}


private func prepareUpdate(action: () -> Void) {
guard device.hasBatteryCharged else {
showCharge = true
Expand Down
2 changes: 1 addition & 1 deletion Flipper/Packages/UI/Sources/Main/MainView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ struct MainView: View {
ArchiveView()
.opacity(selectedTab == .archive ? 1 : 0)
AppsView()
.opacity(selectedTab == .apps ? 1 : 0)
.opacity(selectedTab == .apps ? 1 : 0)
HubView()
.opacity(selectedTab == .hub ? 1 : 0)
}
Expand Down

0 comments on commit 86606b3

Please sign in to comment.