소스 검색

Update labs settings, allow dark mode and MomentUI

Daniel Supernault 6 년 전
부모
커밋
0f4443656e
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      resources/views/settings/labs.blade.php

+ 0 - 2
resources/views/settings/labs.blade.php

@@ -31,7 +31,6 @@
 			</label>
 			<p class="text-muted small help-text">MomentUI offers an alternative layout for posts and your profile.</p>
 		</div>
-		@if($profile->profile_layout != 'moment')
 		<div class="form-check pb-3">
 			<input class="form-check-input" type="checkbox" name="dark_mode" id="dark_mode" {{request()->hasCookie('dark-mode') ? 'checked':''}}>
 			<label class="form-check-label font-weight-bold" for="dark_mode">
@@ -39,7 +38,6 @@
 			</label>
 			<p class="text-muted small help-text">Use dark mode theme.</p>
 		</div>
-		@endif
 		<div class="py-3">
 			<p class="font-weight-bold text-muted text-center">Discovery</p>
 			<hr>