Skip to content

Commit 28e324d

Browse files
committed
Code cleanup.
1 parent 6f7f9be commit 28e324d

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

app/src/main/java/com/nextcloud/client/account/UserAccountManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ public void resetOwnCloudAccount() {
342342
@Override
343343
public boolean accountOwnsFile(OCFile file, Account account) {
344344
final String ownerId = file.getOwnerId();
345-
return TextUtils.isEmpty(ownerId) || account.name.split("@")[0].equals(ownerId);
345+
return TextUtils.isEmpty(ownerId) || account.name.split("@")[0].equalsIgnoreCase(ownerId);
346346
}
347347

348348
@Override

app/src/main/res/values/colors.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@
7575
<color name="secondary_button_text_color">#000000</color>
7676
<color name="nc_grey">#ededed</color>
7777
<color name="icon_on_nc_grey">#000000</color>
78-
<color name="bottom_sheet_bg_color">#FFFFFF</color>
79-
<color name="bottom_sheet_icon_color">#191919</color>
8078
<color name="bottom_sheet_txt_color">#191919</color>
8179

8280
<color name="process_dialog_background">#ffffff</color>

0 commit comments

Comments
 (0)