mirror of
https://github.com/lubosz/overte.git
synced 2025-04-25 00:03:16 +02:00
Set bubble default state off for android.
This commit is contained in:
parent
12d1885dff
commit
7982d8da58
2 changed files with 6 additions and 0 deletions
|
@ -172,7 +172,11 @@ private:
|
|||
tbb::concurrent_unordered_map<QUuid, float, UUIDHasher> _avatarGainMap;
|
||||
|
||||
void sendIgnoreRadiusStateToNode(const SharedNodePointer& destinationNode);
|
||||
#if defined(Q_OS_ANDROID)
|
||||
Setting::Handle<bool> _ignoreRadiusEnabled { "IgnoreRadiusEnabled", false };
|
||||
#else
|
||||
Setting::Handle<bool> _ignoreRadiusEnabled { "IgnoreRadiusEnabled", true };
|
||||
#endif
|
||||
|
||||
#if (PR_BUILD || DEV_BUILD)
|
||||
bool _shouldSendNewerVersion { false };
|
||||
|
|
|
@ -132,6 +132,8 @@ function setupBottomBar() {
|
|||
text: "BUBBLE"
|
||||
});
|
||||
|
||||
bubbleBtn.editProperties({isActive: Users.getIgnoreRadiusEnabled()});
|
||||
|
||||
bubbleBtn.clicked.connect(function() {
|
||||
Users.toggleIgnoreRadius();
|
||||
bubbleBtn.editProperties({isActive: Users.getIgnoreRadiusEnabled()});
|
||||
|
|
Loading…
Reference in a new issue