mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-22 23:08:07 +01:00
Update WidgetCommunication.ios.tsx
This commit is contained in:
parent
85aeed9006
commit
8e95ea947b
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ export const isBalanceDisplayAllowed = async (): Promise<boolean> => {
|
|||
const displayBalance = await DefaultPreference.get(WidgetCommunicationKeys.DisplayBalanceAllowed);
|
||||
return displayBalance === '1';
|
||||
} catch {
|
||||
await setBalanceDisplayAllowed(true);
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue