Skip to content

Commit

Permalink
Merge pull request #26481 from ghost/fdroid
Browse files Browse the repository at this point in the history
  • Loading branch information
juliushaertl authored Jul 13, 2021
2 parents 0031152 + 0ba0189 commit 3860dad
Show file tree
Hide file tree
Showing 4 changed files with 5,274 additions and 0 deletions.
9 changes: 9 additions & 0 deletions apps/theming/lib/ThemingDefaults.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ class ThemingDefaults extends \OC_Defaults {
private $iOSClientUrl;
/** @var string */
private $AndroidClientUrl;
/** @var string */
private $FDroidClientUrl;

/**
* ThemingDefaults constructor.
Expand Down Expand Up @@ -127,6 +129,7 @@ public function __construct(IConfig $config,
$this->iTunesAppId = parent::getiTunesAppId();
$this->iOSClientUrl = parent::getiOSClientUrl();
$this->AndroidClientUrl = parent::getAndroidClientUrl();
$this->FDroidClientUrl = parent::getFDroidClientUrl();
}

public function getName() {
Expand Down Expand Up @@ -296,6 +299,12 @@ public function getAndroidClientUrl() {
return $this->config->getAppValue('theming', 'AndroidClientUrl', $this->AndroidClientUrl);
}

/**
* @return string
*/
public function getFDroidClientUrl() {
return $this->config->getAppValue('theming', 'FDroidClientUrl', $this->FDroidClientUrl);
}

/**
* @return array scss variables to overwrite
Expand Down
Loading

0 comments on commit 3860dad

Please sign in to comment.