Skip to content

Commit

Permalink
Show Intro message for existing users on New Tab Page (#3173)
Browse files Browse the repository at this point in the history
<!--
Note: This checklist is a reminder of our shared engineering
expectations. Feel free to change it, although assigning a GitHub
reviewer and the items in bold are required.

⚠️ If you're an external contributor, please file an issue first before
working on a PR, as we can't guarantee that we will accept your changes
if they haven't been discussed ahead of time. Thanks!
-->

Task/Issue URL:
https://app.asana.com/0/1206226850447395/1207951131408752/f
Tech Design URL:
CC:

**Description**:

Adds a message for existing users about redesign of New Tab Page. I'm
using the presence of install date during app launch to determine if the
user is new.
Existing implementation also checks whether the feature flag is set to
be releasable remotely and does nothing if it is not. Altering the code
is necessary to verify final behavior.

**Steps to test this PR**:
1. Install and run any other build (without the intro message). If you
have any other build run already you can skip this step.
1. Change `NewTabPageManager.isAvailableInPublicRelease` to return
`true`, to override setup restrictions. Run build from this branch.
1. Set _internal user state_ and enable New Tab Page Sections feature
flag in Debug menu.
1. Intro message should be visible on new tab page as well as for next
two new tab page impressions.
1. Tapping on X button should hide message forever.
1. Remove app.
1. Launch and enable the feature in Debug menu again - intro message
should not be visible.

**Finally:** With code unchanged message should not initialize at all.
It can be reset and verified in Debug menu.
  • Loading branch information
dus7 authored Aug 5, 2024
1 parent ba79715 commit 423ba9c
Show file tree
Hide file tree
Showing 41 changed files with 615 additions and 14 deletions.
2 changes: 2 additions & 0 deletions Core/UserDefaultsPropertyWrapper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ public struct UserDefaultsWrapper<T> {

case newTabPageSectionsSettings = "com.duckduckgo.ios.newTabPage.sections.settings"
case newTabPageShortcutsSettings = "com.duckduckgo.ios.newTabPage.shortcuts.settings"
case newTabPageIntroMessageEnabled = "com.duckduckgo.ios.newTabPage.introMessageEnabled"
case newTabPageIntroMessageSeenCount = "com.duckduckgo.ios.newTabPage.introMessageSeenCount"

// Debug keys

Expand Down
28 changes: 28 additions & 0 deletions DuckDuckGo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,8 @@
6FB2A67E2C2DAFB4004D20C8 /* NewTabPageGridView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6FB2A67D2C2DAFB4004D20C8 /* NewTabPageGridView.swift */; };
6FB2A6802C2EA950004D20C8 /* FavoritesDefaultModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6FB2A67F2C2EA950004D20C8 /* FavoritesDefaultModel.swift */; };
6FBF0F8B2BD7C0A900136CF0 /* AllProtectedCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6FBF0F8A2BD7C0A900136CF0 /* AllProtectedCell.swift */; };
6FD0C41F2C5BF097000561C9 /* NewTabPageIntroMessageSetupTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6FD0C41E2C5BF097000561C9 /* NewTabPageIntroMessageSetupTests.swift */; };
6FD0C4212C5BF774000561C9 /* NewTabPageModelTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6FD0C4202C5BF774000561C9 /* NewTabPageModelTests.swift */; };
6FD1BAE42B87A107000C475C /* AdAttributionPixelReporter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6FD1BAE12B87A107000C475C /* AdAttributionPixelReporter.swift */; };
6FD1BAE52B87A107000C475C /* AdAttributionReporterStorage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6FD1BAE22B87A107000C475C /* AdAttributionReporterStorage.swift */; };
6FD1BAE62B87A107000C475C /* AdAttributionFetcher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6FD1BAE32B87A107000C475C /* AdAttributionFetcher.swift */; };
Expand All @@ -316,6 +318,9 @@
6FD3F8112C3EFCDB00DA5797 /* FavoritesModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6FD3F8102C3EFCDB00DA5797 /* FavoritesModel.swift */; };
6FD3F8132C3EFDA200DA5797 /* FavoritesPreviewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6FD3F8122C3EFDA200DA5797 /* FavoritesPreviewModel.swift */; };
6FD3F8192C41252900DA5797 /* NewTabPageControllerDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6FD3F8182C41252900DA5797 /* NewTabPageControllerDelegate.swift */; };
6FD8E51E2C5B84DE00345670 /* NewTabPageIntroMessageView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6FD8E51D2C5B84DE00345670 /* NewTabPageIntroMessageView.swift */; };
6FD8E5202C5BA23200345670 /* NewTabPageModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6FD8E51F2C5BA23200345670 /* NewTabPageModel.swift */; };
6FD8E5222C5BA5C400345670 /* NewTabPageIntroMessageSetup.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6FD8E5212C5BA5C400345670 /* NewTabPageIntroMessageSetup.swift */; };
6FDA1FB32B59584400AC962A /* AddressDisplayHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6FDA1FB22B59584400AC962A /* AddressDisplayHelper.swift */; };
6FE018402C25CB3F001F680D /* FavoritesSectionHeader.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6FE0183F2C25CB3F001F680D /* FavoritesSectionHeader.swift */; };
6FE095D82BD90AFB00490FF8 /* UniversalOmniBarState.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6FE095D72BD90AFB00490FF8 /* UniversalOmniBarState.swift */; };
Expand Down Expand Up @@ -1507,6 +1512,8 @@
6FB2A67D2C2DAFB4004D20C8 /* NewTabPageGridView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NewTabPageGridView.swift; sourceTree = "<group>"; };
6FB2A67F2C2EA950004D20C8 /* FavoritesDefaultModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FavoritesDefaultModel.swift; sourceTree = "<group>"; };
6FBF0F8A2BD7C0A900136CF0 /* AllProtectedCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AllProtectedCell.swift; sourceTree = "<group>"; };
6FD0C41E2C5BF097000561C9 /* NewTabPageIntroMessageSetupTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NewTabPageIntroMessageSetupTests.swift; sourceTree = "<group>"; };
6FD0C4202C5BF774000561C9 /* NewTabPageModelTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NewTabPageModelTests.swift; sourceTree = "<group>"; };
6FD1BAE12B87A107000C475C /* AdAttributionPixelReporter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = AdAttributionPixelReporter.swift; path = AdAttribution/AdAttributionPixelReporter.swift; sourceTree = "<group>"; };
6FD1BAE22B87A107000C475C /* AdAttributionReporterStorage.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = AdAttributionReporterStorage.swift; path = AdAttribution/AdAttributionReporterStorage.swift; sourceTree = "<group>"; };
6FD1BAE32B87A107000C475C /* AdAttributionFetcher.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = AdAttributionFetcher.swift; path = AdAttribution/AdAttributionFetcher.swift; sourceTree = "<group>"; };
Expand All @@ -1515,6 +1522,9 @@
6FD3F8102C3EFCDB00DA5797 /* FavoritesModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FavoritesModel.swift; sourceTree = "<group>"; };
6FD3F8122C3EFDA200DA5797 /* FavoritesPreviewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FavoritesPreviewModel.swift; sourceTree = "<group>"; };
6FD3F8182C41252900DA5797 /* NewTabPageControllerDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NewTabPageControllerDelegate.swift; sourceTree = "<group>"; };
6FD8E51D2C5B84DE00345670 /* NewTabPageIntroMessageView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NewTabPageIntroMessageView.swift; sourceTree = "<group>"; };
6FD8E51F2C5BA23200345670 /* NewTabPageModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NewTabPageModel.swift; sourceTree = "<group>"; };
6FD8E5212C5BA5C400345670 /* NewTabPageIntroMessageSetup.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NewTabPageIntroMessageSetup.swift; sourceTree = "<group>"; };
6FDA1FB22B59584400AC962A /* AddressDisplayHelper.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AddressDisplayHelper.swift; sourceTree = "<group>"; };
6FE0183F2C25CB3F001F680D /* FavoritesSectionHeader.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FavoritesSectionHeader.swift; sourceTree = "<group>"; };
6FE095D72BD90AFB00490FF8 /* UniversalOmniBarState.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UniversalOmniBarState.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -3605,6 +3615,8 @@
6F03CB002C32ED42004179A8 /* NewTabPageMessagesModelTests.swift */,
6F40D15C2C34436200BF22F0 /* HomePageDisplayDailyPixelBucketTests.swift */,
6F934F852C58DB00008364E4 /* NewTabPageSettingsPersistentStorageTests.swift */,
6FD0C41E2C5BF097000561C9 /* NewTabPageIntroMessageSetupTests.swift */,
6FD0C4202C5BF774000561C9 /* NewTabPageModelTests.swift */,
564DE4562C4150E600D23241 /* HomeViewControllerDaxDialogTests.swift */,
);
name = NewTabPage;
Expand Down Expand Up @@ -3699,12 +3711,22 @@
name = AdAttribution;
sourceTree = "<group>";
};
6FD8E51C2C5B84CA00345670 /* IntroMessage */ = {
isa = PBXGroup;
children = (
6FD8E51D2C5B84DE00345670 /* NewTabPageIntroMessageView.swift */,
6FD8E5212C5BA5C400345670 /* NewTabPageIntroMessageSetup.swift */,
);
name = IntroMessage;
sourceTree = "<group>";
};
6FE127362C20436A00EB5724 /* HomeRedesign */ = {
isa = PBXGroup;
children = (
6FE1273B2C204C0D00EB5724 /* Subviews */,
6F03CAF82C32C3AA004179A8 /* Messages */,
6FE127372C20492500EB5724 /* NewTabPage.swift */,
6FD8E51F2C5BA23200345670 /* NewTabPageModel.swift */,
6FE127392C204BD000EB5724 /* NewTabPageView.swift */,
6FE127452C2054A900EB5724 /* NewTabPageViewController.swift */,
6FD3F8182C41252900DA5797 /* NewTabPageControllerDelegate.swift */,
Expand All @@ -3716,6 +3738,7 @@
6FE1273B2C204C0D00EB5724 /* Subviews */ = {
isa = PBXGroup;
children = (
6FD8E51C2C5B84CA00345670 /* IntroMessage */,
6F35379C2C4AAF1C009F8717 /* Settings */,
6FE127472C20941A00EB5724 /* Shortcuts */,
6FE127412C204DE900EB5724 /* Favorites */,
Expand Down Expand Up @@ -6950,6 +6973,7 @@
EE9D68DC2AE16AE100B55EF4 /* NotificationsAuthorizationController.swift in Sources */,
AA3D854923DA1DFB00788410 /* AppIcon.swift in Sources */,
D6E83C2E2B1EA06E006C8AFB /* SettingsViewModel.swift in Sources */,
6FD8E5222C5BA5C400345670 /* NewTabPageIntroMessageSetup.swift in Sources */,
8590CB612684D0600089F6BF /* CookieDebugViewController.swift in Sources */,
9FEA22272C2D2BDA006B03BF /* RootDebugViewController+Onboarding.swift in Sources */,
319A37152829A55F0079FBCE /* AutofillListItemTableViewCell.swift in Sources */,
Expand Down Expand Up @@ -7057,6 +7081,7 @@
C10CB5F32A1A5BDF0048E503 /* AutofillViews.swift in Sources */,
6FE127382C20492500EB5724 /* NewTabPage.swift in Sources */,
982E5630222C3D5B008D861B /* FeedbackPickerViewController.swift in Sources */,
6FD8E5202C5BA23200345670 /* NewTabPageModel.swift in Sources */,
37FCAABC2992F592000E420A /* MultilineScrollableTextFix.swift in Sources */,
85DFEDED24C7CCA500973FE7 /* AppWidthObserver.swift in Sources */,
4B6484F327FD1E350050A7A1 /* MenuControllerView.swift in Sources */,
Expand Down Expand Up @@ -7202,6 +7227,7 @@
85AE6690209724120014CF04 /* NotificationView.swift in Sources */,
1EA51376286596A000493C6A /* PrivacyIconLogic.swift in Sources */,
980891A92238504B00313A70 /* UILabelExtension.swift in Sources */,
6FD8E51E2C5B84DE00345670 /* NewTabPageIntroMessageView.swift in Sources */,
984D035A24ACCC7D0066CFB8 /* TabViewCell.swift in Sources */,
D65625922C22D340006EF297 /* DuckPlayerNavigationHandler.swift in Sources */,
31951E8E2823003200CAF535 /* AutofillLoginDetailsHeaderView.swift in Sources */,
Expand Down Expand Up @@ -7444,6 +7470,7 @@
1CB7B82323CEA28300AA24EA /* DateExtensionTests.swift in Sources */,
31C138A427A3352600FFD4B2 /* DownloadTests.swift in Sources */,
853A717820F645FB00FE60BC /* PixelTests.swift in Sources */,
6FD0C4212C5BF774000561C9 /* NewTabPageModelTests.swift in Sources */,
984D036124AF49B80066CFB8 /* TabPreviewsSourceTests.swift in Sources */,
85D2187024BF24DB004373D2 /* FaviconRequestModifierTests.swift in Sources */,
EAB19EDA268963510015D3EA /* DomainMatchingTests.swift in Sources */,
Expand Down Expand Up @@ -7601,6 +7628,7 @@
9FEA22352C327226006B03BF /* MockTimer.swift in Sources */,
564DE45C2C45160500D23241 /* OnboardingSuggestionsViewModelsTests.swift in Sources */,
EE7917912A83DE93008DFF28 /* CombineTestUtilities.swift in Sources */,
6FD0C41F2C5BF097000561C9 /* NewTabPageIntroMessageSetupTests.swift in Sources */,
8540BD5223D8C2220057FDD2 /* PreserveLoginsTests.swift in Sources */,
85F200072217032E006BB258 /* AddressDisplayHelperTests.swift in Sources */,
B6AD9E3728D4510A0019CDE9 /* ContentBlockingUpdatingTests.swift in Sources */,
Expand Down
2 changes: 2 additions & 0 deletions DuckDuckGo/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,8 @@ import WebKit
AppDependencyProvider.shared.appSettings.setAutofillIsNewInstallForOnByDefault()
}

NewTabPageIntroMessageSetup().perform()

widgetRefreshModel.beginObservingVPNStatus()

AppDependencyProvider.shared.subscriptionManager.loadInitialData()
Expand Down
2 changes: 2 additions & 0 deletions DuckDuckGo/AppSettings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ protocol AppSettings: AnyObject, AppDebugSettings {

var newTabPageShortcutsSettings: Data? { get set }
var newTabPageSectionsSettings: Data? { get set }
var newTabPageIntroMessageEnabled: Bool? { get set }
var newTabPageIntroMessageSeenCount: Int { get set }
}

protocol AppDebugSettings {
Expand Down
6 changes: 6 additions & 0 deletions DuckDuckGo/AppUserDefaults.swift
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,12 @@ public class AppUserDefaults: AppSettings {

@UserDefaultsWrapper(key: .newTabPageSectionsSettings, defaultValue: nil)
var newTabPageSectionsSettings: Data?

@UserDefaultsWrapper(key: .newTabPageIntroMessageEnabled, defaultValue: nil)
var newTabPageIntroMessageEnabled: Bool?

@UserDefaultsWrapper(key: .newTabPageIntroMessageSeenCount, defaultValue: 0)
var newTabPageIntroMessageSeenCount: Int
}

extension AppUserDefaults: AppConfigurationFetchStatistics {
Expand Down
44 changes: 44 additions & 0 deletions DuckDuckGo/NewTabPageIntroMessageSetup.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
//
// NewTabPageIntroMessageSetup.swift
// DuckDuckGo
//
// Copyright © 2024 DuckDuckGo. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//

import BrowserServicesKit
import Core

struct NewTabPageIntroMessageSetup {
let appSettings: AppSettings
let statistics: StatisticsStore
let newTabPageManager: NewTabPageManaging

init(appSettings: AppSettings = AppDependencyProvider.shared.appSettings,
statistics: StatisticsStore = StatisticsUserDefaults(),
newTabPageManager: NewTabPageManaging = NewTabPageManager()) {
self.appSettings = appSettings
self.statistics = statistics
self.newTabPageManager = newTabPageManager
}

func perform() {

let isNotSetUp = appSettings.newTabPageIntroMessageEnabled == nil
guard newTabPageManager.isAvailableInPublicRelease && isNotSetUp else { return }

// For new users we **don't** want intro message
appSettings.newTabPageIntroMessageEnabled = statistics.installDate != nil
}
}
76 changes: 76 additions & 0 deletions DuckDuckGo/NewTabPageIntroMessageView.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
//
// NewTabPageIntroMessageView.swift
// DuckDuckGo
//
// Copyright © 2024 DuckDuckGo. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//

import SwiftUI
import DesignResourcesKit

struct NewTabPageIntroMessageView: View {

var onClose: (() -> Void)?

var body: some View {
VStack {
VStack(spacing: Metrics.itemSpacing) {
HStack {
Text(UserText.newTabPageIntroMessageTitle)
.daxHeadline()
.multilineTextAlignment(.center)
.foregroundStyle(Color(designSystemColor: .textPrimary))
.frame(maxWidth: .infinity, alignment: .top)
}
.padding(.horizontal, Metrics.titlePadding) // Prevent showing header underneath close button

Text(UserText.newTabPageIntroMessageBody)
.foregroundStyle(Color(designSystemColor: .textPrimary))
.daxBodyRegular()
.multilineTextAlignment(.center)
}
.padding(Metrics.padding)
.overlay(alignment: .topTrailing) {
Button {
onClose?()
} label: {
Image(.close24)
}
.frame(alignment: .topTrailing)
.foregroundStyle(Color(designSystemColor: .icons))
}
}
.padding(Metrics.padding)
.frame(maxWidth: .infinity, alignment: .center)
.background(Color(designSystemColor: .surface))
.cornerRadius(Metrics.cornerRadius)
.shadow(color: .shade(0.1), radius: 2, x: 0, y: 1)
}

private enum Metrics {
static let padding = 8.0
static let itemSpacing = 6.0
static let cornerRadius = 12.0
static let titlePadding = 20.0
}
}

#Preview {
VStack {
NewTabPageIntroMessageView().padding(16)
}
.frame(maxWidth: .infinity, maxHeight: .infinity)
.background(Color(designSystemColor: .background))
}
11 changes: 11 additions & 0 deletions DuckDuckGo/NewTabPageManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@

import Foundation
import BrowserServicesKit
import Core

protocol NewTabPageManaging: AnyObject {
var isNewTabPageSectionsEnabled: Bool { get }
var isAvailableInPublicRelease: Bool { get }
}

protocol NewTabPageDebugging: NewTabPageManaging {
Expand All @@ -47,6 +49,15 @@ final class NewTabPageManager: NewTabPageManaging, NewTabPageDebugging {
isLocalFlagEnabled && isFeatureFlagEnabled
}

var isAvailableInPublicRelease: Bool {
switch FeatureFlag.newTabPageSections.source {
case .disabled, .internalOnly, .remoteDevelopment:
return false
case .remoteReleasable:
return true
}
}

// MARK: - NewTabPageDebugging

var isLocalFlagEnabled: Bool {
Expand Down
45 changes: 45 additions & 0 deletions DuckDuckGo/NewTabPageModel.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
//
// NewTabPageModel.swift
// DuckDuckGo
//
// Copyright © 2024 DuckDuckGo. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//

import Foundation

final class NewTabPageModel: ObservableObject {

@Published private(set) var isIntroMessageVisible: Bool

private let appSettings: AppSettings

init(appSettings: AppSettings = AppDependencyProvider.shared.appSettings) {
self.appSettings = appSettings

isIntroMessageVisible = appSettings.newTabPageIntroMessageEnabled ?? false
}

func increaseIntroMessageCounter() {
appSettings.newTabPageIntroMessageSeenCount += 1
if appSettings.newTabPageIntroMessageSeenCount >= 3 {
appSettings.newTabPageIntroMessageEnabled = false
}
}

func dismissIntroMessage() {
appSettings.newTabPageIntroMessageEnabled = false
isIntroMessageVisible = false
}
}
Loading

0 comments on commit 423ba9c

Please sign in to comment.