Skip to content
Snippets Groups Projects
Commit eff973bd authored by Kateryna Kostiuk's avatar Kateryna Kostiuk Committed by Andreas Traczyk
Browse files

fix: ringtone path for macOS

Change-Id: Ia34a1c40ea144fb9a6978fe4b39cfa2faa3a5042
parent 604a080f
No related branches found
No related tags found
No related merge requests found
......@@ -2149,7 +2149,7 @@ Manager::playRingtone(const std::string& accountID)
}
std::string ringchoice = account->getRingtonePath();
#ifdef TARGET_OS_IOS
#if (defined(TARGET_OS_IOS) && TARGET_OS_IOS)
//for ios file located in main buindle
CFBundleRef bundle = CFBundleGetMainBundle();
CFURLRef bundleURL = CFBundleCopyBundleURL(bundle);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment