dont check location when target is offline
This commit is contained in:
@@ -642,9 +642,10 @@ public class DrawUserPair
|
|||||||
if (ImGui.IsItemHovered())
|
if (ImGui.IsItemHovered())
|
||||||
{
|
{
|
||||||
ImGui.BeginTooltip();
|
ImGui.BeginTooltip();
|
||||||
if (shareLocation)
|
|
||||||
{
|
|
||||||
if (_pair.IsOnline)
|
if (_pair.IsOnline)
|
||||||
|
{
|
||||||
|
if (shareLocation)
|
||||||
{
|
{
|
||||||
if (!string.IsNullOrEmpty(location))
|
if (!string.IsNullOrEmpty(location))
|
||||||
{
|
{
|
||||||
@@ -659,12 +660,12 @@ public class DrawUserPair
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ImGui.TextUnformatted("User not online. (´・ω・`)?");
|
ImGui.TextUnformatted("NOT Sharing location with you. o(TヘTo)");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ImGui.TextUnformatted("NOT Sharing location with you. o(TヘTo)");
|
ImGui.TextUnformatted("User not online. (´・ω・`)?");
|
||||||
}
|
}
|
||||||
ImGui.Separator();
|
ImGui.Separator();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user