balloon-pop icon indicating copy to clipboard operation
balloon-pop copied to clipboard

balloon_id is empty

Open TimmyBest opened this issue 3 years ago • 0 comments

It is empty in the database and of course empty when printed in debug when running on live device. Screenshot 2022-10-12 at 23 07 00

A question is how does this work...?

 public bool Equals(BalloonData b) {
        if (b is null) return false;
        // If run-time types are not exactly the same, return false.
        if (this.GetType() != b.GetType()) return false;
        // Optimization for a common success case.
        if (System.Object.ReferenceEquals(this, b)) return true;
        if (b.balloon_id == null || b.balloon_id.Length < 1 || 
            this.balloon_id == null || this.balloon_id.Length < 1) {
            return false;
        }
        return b.balloon_id == this.balloon_id;
    }
    

TimmyBest avatar Oct 12 '22 21:10 TimmyBest