소스 검색

secure folder floating android

kevin 1 년 전
부모
커밋
d375a3f11f
1개의 변경된 파일24개의 추가작업 그리고 0개의 파일을 삭제
  1. 24 0
      main.py

+ 24 - 0
main.py

@@ -244,6 +244,12 @@ def change(platform: str, mode: str, path_dest: str, features: dict, security: d
                         else:
                             f.write(indented_str(6,
                                                  '// fb.add(new FloatingButton(FloatingButton.FEATURE.STREAMING, ""));'))
+                        if security["secure_folder"]:
+                            f.write(
+                                indented_str(6, 'fb.add(new FloatingButton(FloatingButton.FEATURE.SECURE_FOLDER, ""));'))
+                        else:
+                            f.write(indented_str(6,
+                                                 '// fb.add(new FloatingButton(FloatingButton.FEATURE.SECURE_FOLDER, ""));'))
                         f.write(indented_str(6,
                                              'API.configureFloating(fb);'))
                     else:
@@ -571,6 +577,12 @@ def change(platform: str, mode: str, path_dest: str, features: dict, security: d
                         else:
                             f.write(indented_str(6,
                                                  '// fb.add(new FloatingButton(FloatingButton.FEATURE.STREAMING, ""));'))
+                        if security["secure_folder"]:
+                            f.write(
+                                indented_str(6, 'fb.add(new FloatingButton(FloatingButton.FEATURE.SECURE_FOLDER, ""));'))
+                        else:
+                            f.write(indented_str(6,
+                                                 '// fb.add(new FloatingButton(FloatingButton.FEATURE.SECURE_FOLDER, ""));'))
                         f.write(indented_str(6,
                                              'API.configureFloating(fb);'))
                     else:
@@ -806,6 +818,12 @@ def change(platform: str, mode: str, path_dest: str, features: dict, security: d
                         else:
                             f.write(indented_str(6,
                                                  '// fb.add(new FloatingButton(FloatingButton.FEATURE.STREAMING, ""));', spaces=2))
+                        if security["secure_folder"]:
+                            f.write(
+                                indented_str(6, 'fb.add(new FloatingButton(FloatingButton.FEATURE.SECURE_FOLDER, ""));', spaces=2))
+                        else:
+                            f.write(indented_str(6,
+                                                 '// fb.add(new FloatingButton(FloatingButton.FEATURE.SECURE_FOLDER, ""));', spaces=2))
                         f.write(indented_str(6,
                                              'API.configureFloating(fb);', spaces=2))
                     else:
@@ -1233,6 +1251,12 @@ def change(platform: str, mode: str, path_dest: str, features: dict, security: d
                         else:
                             f.write(indented_str(6,
                                                  '// fb.add(new FloatingButton(FloatingButton.FEATURE.STREAMING, ""));'))
+                        if security["secure_folder"]:
+                            f.write(
+                                indented_str(6, 'fb.add(new FloatingButton(FloatingButton.FEATURE.SECURE_FOLDER, ""));'))
+                        else:
+                            f.write(indented_str(6,
+                                                 '// fb.add(new FloatingButton(FloatingButton.FEATURE.SECURE_FOLDER, ""));'))
                         f.write(indented_str(6,
                                              'API.configureFloating(fb);'))
                     else: