Commit eff973bd authored by Kateryna Kostiuk's avatar Kateryna Kostiuk Committed by Andreas Traczyk

fix: ringtone path for macOS

Change-Id: Ia34a1c40ea144fb9a6978fe4b39cfa2faa3a5042
parent 604a080f
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment