| 258 | } |
| 259 | |
| 260 | int WallPaper::gradientRotation() const { |
| 261 | // In case of complex gradients rotation value is dynamic. |
| 262 | return (_backgroundColors.size() < 3) ? _rotation : 0; |
| 263 | } |
| 264 | |
| 265 | bool WallPaper::hasShareUrl() const { |
| 266 | return !_slug.isEmpty(); |
no test coverage detected