Skip to content

Commit 641e93c

Browse files
author
Miguel Tomas
committed
Fixed compiler line not reach warning
1 parent da5992c commit 641e93c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Runtime/MobileNotificationService.cs

+4-2
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,9 @@ public IGameNotification CreateNotification()
9393
{
9494
#if UNITY_EDITOR
9595
return new EditorGameNotification();
96-
#endif
96+
#else
9797
return _monoBehaviour.CreateNotification();
98+
#endif
9899
}
99100

100101
/// <inheritdoc />
@@ -107,8 +108,9 @@ public PendingNotification ScheduleNotification(IGameNotification gameNotificati
107108
gameNotification.Id = Math.Abs(DateTime.Now.ToString("yyMMddHHmmssffffff").GetHashCode());
108109
}
109110
return new PendingNotification(gameNotification);
110-
#endif
111+
#else
111112
return _monoBehaviour.ScheduleNotification(gameNotification);
113+
#endif
112114
}
113115

114116
/// <inheritdoc />

0 commit comments

Comments
 (0)