Skip to content

Commit

Permalink
access assets { try
Browse files Browse the repository at this point in the history
  • Loading branch information
sameersyd committed Aug 13, 2020
1 parent dc7310f commit 13a2e8a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion MotionToastView.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'MotionToastView'
s.version = '0.1.3'
s.version = '0.1.5'
s.summary = 'A Beautiful Toast Library for iOS Swift'

# This description is used to generate tags and improve search results.
Expand Down
2 changes: 1 addition & 1 deletion Source/MotionToastStyles/MTPale.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class MTPale: UIView {
}

func setupViews(toastType: ToastType) {
let bundle = Bundle(for: MTPale.self)
let bundle = Bundle(for: type(of: self))
switch toastType {
case .success:
headLabel.text = "Success"
Expand Down
2 changes: 1 addition & 1 deletion Source/MotionToastStyles/MTVibrant.swift
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class MTVibrant: UIView {
}

func setupViews(toastType: ToastType) {
let bundle = Bundle(for: MTVibrant.self)
let bundle = Bundle(for: type(of: self))
switch toastType {
case .success:
headLabel.text = "Success"
Expand Down

0 comments on commit 13a2e8a

Please sign in to comment.