浏览代码

use fallback theme to color bullet points of upload behaviour

tobiasKaminsky 7 年之前
父节点
当前提交
466772ffbe
共有 1 个文件被更改,包括 7 次插入1 次删除
  1. 7 1
      src/main/java/com/owncloud/android/ui/activity/FolderSyncActivity.java

+ 7 - 1
src/main/java/com/owncloud/android/ui/activity/FolderSyncActivity.java

@@ -55,8 +55,8 @@ import com.owncloud.android.ui.dialog.SyncedFolderPreferencesDialogFragment;
 import com.owncloud.android.ui.dialog.parcel.SyncedFolderParcelable;
 import com.owncloud.android.utils.AnalyticsUtils;
 import com.owncloud.android.utils.DisplayUtils;
-import com.owncloud.android.utils.ThemeUtils;
 import com.owncloud.android.utils.PermissionUtil;
+import com.owncloud.android.utils.ThemeUtils;
 
 import java.io.File;
 import java.util.ArrayList;
@@ -94,6 +94,8 @@ public class FolderSyncActivity extends FileActivity implements FolderSyncAdapte
 
     @Override
     protected void onCreate(Bundle savedInstanceState) {
+
+
         super.onCreate(savedInstanceState);
 
         if (getIntent().getExtras() != null) {
@@ -120,6 +122,10 @@ public class FolderSyncActivity extends FileActivity implements FolderSyncAdapte
             ThemeUtils.setColoredTitle(getSupportActionBar(), getString(R.string.drawer_folder_sync));
             actionBar.setDisplayHomeAsUpEnabled(true);
         }
+
+        if (ThemeUtils.themingEnabled()) {
+            setTheme(R.style.FallbackThemingTheme);
+        }
     }
 
     @Override