Skip to content

A small refactoring - #235

Merged
fdocr merged 3 commits into
forem:masterfrom
RomanPodymov:master
Oct 20, 2020
Merged

fdocr merged 3 commits into
forem:masterfrom
RomanPodymov:master

Conversation

@RomanPodymov

Copy link
Copy Markdown
Contributor

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Documentation Update

Description

Hello.
Thank you for DEV-ios.
I did a small refactoring in MediaManager.swift.

Related Tickets & Documents

Mobile & Desktop Screenshots/Recordings (if there are UI changes)

Added to documentation?

  • docs.dev.to
  • readme
  • no documentation needed

@CLAassistant

CLAassistant commented Oct 17, 2020

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@chickdan chickdan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Roman, thanks for submitting this PR! If you remove the static keyword from seekInterval then you won't need to use Self when referencing that variable. Since the variable isn't used anywhere else I don't see a need for it to be static.

Comment thread DEV-Simple/core/MediaManager.swift Outdated
Co-authored-by: Daniel Chick <daniel.chick@hotmail.com>

@fdocr fdocr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution @RomanPodymov

@fdocr
fdocr merged commit 6704f15 into forem:master Oct 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants