Merge pull request #22708 from brave/artificial_self_custody_case_android

Artificial self custody linking case
This commit is contained in:
Deep Pandya
2024-03-22 11:50:48 -04:00
committed by GitHub
@@ -605,7 +605,7 @@ public class BraveRewardsPanel
&& args.length > 0
&& args[0].equals(SELF_CUSTODY_AVAILABLE)) {
if (mBraveRewardsNativeWorker != null) {
mBraveRewardsNativeWorker.deleteNotification(mCurrentNotificationId);
mBraveRewardsNativeWorker.deleteNotification(id);
}
return;
}
@@ -1294,7 +1294,8 @@ public class BraveRewardsPanel
} else {
existingUserViewChanges();
}
if (mBraveRewardsNativeWorker.shouldShowSelfCustodyInvite()) {
if (mBraveRewardsNativeWorker.shouldShowSelfCustodyInvite()
&& walletStatus == WalletStatus.NOT_CONNECTED) {
showSolanaEligibleUi();
}
}