check remote number besides license
This commit is contained in:
@@ -664,7 +664,7 @@ function RemotesSection() {
|
|||||||
endContent={
|
endContent={
|
||||||
<Button
|
<Button
|
||||||
onPress={async () => {
|
onPress={async () => {
|
||||||
if (!licenseValid) {
|
if (!licenseValid && remotes.length >= 3) {
|
||||||
await message(
|
await message(
|
||||||
'Community version does not support adding more than 3 remotes.',
|
'Community version does not support adding more than 3 remotes.',
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user