Agreed.
With the fighter, the conditions are met.
Without the fighter, the rogue does not have advantage and it is not a sneak attack.
With the fighter, the conditions are met.
Without the fighter, the rogue does not have advantage and it is not a sneak attack.