feat:下载分享检查
This commit is contained in:
@@ -61,6 +61,8 @@ export function recordShareSuccess(): void {
|
||||
* @returns true表示需要显示分享引导,false表示不需要
|
||||
*/
|
||||
export function shouldShowShareGuide(): boolean {
|
||||
// TODO: 开启分享引导
|
||||
// return true;
|
||||
// 如果今天已经分享过,不需要显示引导
|
||||
if (hasSharedToday()) {
|
||||
return false;
|
||||
@@ -68,4 +70,3 @@ export function shouldShowShareGuide(): boolean {
|
||||
// 如果今天已经下载过,需要显示引导
|
||||
return hasDownloadedToday();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user